Explanation:
There are two versions of Internet Protocol(IP) present in which the IP address are written which are IPv4 and IPv6.The numbers in IPv4 are 32 bit long while in IPv6 the numbers are 128 bits long.
So let's see IPv4 addresses
IP addresses are written in human readable form.There are 4 groups of 8 bits which represent the corresponding decimal numbers.These groups are separated by (.) .Since there are 8 bits hence the numbers range is 0-255.
for ex:- 124.45.65.210
There are 3 dots the numbers are in the range of 0-255.There should be no leading zeroes present in the IP address.
Answer:
Compiler.
Explanation:
Actually there are two things missing in the code first is the header file.There is only # include no filename is there like<iostream>,,bits/stdc++.h> etc.cin ,cout will not work until iostream is included in the program.After including the header properly the missing semicolon will be caught by the compiler.The error will be as following:-
expected ';' before return.
Answer:
def vowel(a): #function to detect whether the character is vowel or not.
vow=['a','e','i','o','u'] #list of vowels.
if a in vow:
return True
else:
return False
character=str(input("Enter the character \n")) #taking input.
if vowel(character.lower()):#checking the character is vowel using the function vowel..
print("Congratulations!!!!") #congratulating.
else:
print("You lose better luck next time")#message.
Output:-
Enter the character
a
Congratulations!!!!
Explanation:
I have created a function to check whether the given character is a vowel or not.
After that taking input from the user.
And checking that it is vowel or not.If it is vowel then printing the message.
Answer:
The NVIDIA GTX 2030 Ti
Explanation:
The AMD Ryzen 5 is good for a starting gaming PC, but if you are looking for a gaming PC that could run a lot more games, use the NVIDIA GTX 2080 Ti.