Answer:
1st gen: Vacuum Tubes(1940–1956)
2nd gen: Transistors(1956–1963)
3rd gen: Integrated Circuits: (1964–1971)
4th gen: Microprocessors (1971–PRESENT)
5th gen: Artificial Intelligence (present)
Explanation:
It helps you keep things organized and easier to find files
Answer:
The output is "Pasta"
Explanation:
Given
The attached code segment
Required
The output
The first line of the program implies that:
MyFavFood="Pasta"
This means that, the value of the variable MyFavFood is string "Pasta"
Next,
print (MyFavFood)
This prints the value of the variable MyFavFood which is "Pasta"
<em>Hence, the output is "Pasta"</em>
Answer:
num = int(input("Enter a number: "))
if (num % 2) == 0:
print("{0} is Even number". format(num))
else:
print("{0} is Odd number". format(num))