Question: # Create a python program that will ask the user for 3 inputs: # - year ( int ) # - month ( string )

# Create a python program that will ask the user for 3 inputs:
# - year (int)
# - month (string)
# - day (int)
# and print the date.
# Example:
# If the user input is:
# -2024
# - March
# -3
# your program will print: "The date is 3 March 2024"
#--.-.-.-.-.-.-.-.-.-.-.-.
# Write your code here:
year = eval (input ("Enter year: "))
month = input("Enter month:")
day = eval (input ("Enter day: "))
print("The date is", day, month, year)
print (f"The date is {day}{month}{year}")
 # Create a python program that will ask the user for

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!