Question #251125

Write a statement that asks the user to enter the year and convert it to an integer. Store the resulting information in a variable called year.


Expert's answer

#   Write a statement that asks the user to enter the year and convert it to an integer.
#   Store the resulting information in a variable called year.


Year = int(input("Enter the year: "))
print("\nThe entered year is : ",Year)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS