Answer to Question #251125 in Python for lilly

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.


1
Expert's answer
2021-10-14T03:45:05-0400
#   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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS