Question: Debug the following Python code. 1. Explain the problem (1 point per error) 2. Write the correct, working code (1 point per error) This program

Debug the following Python code.

1. Explain the problem (1 point per error) 2. Write the correct, working code (1 point per error)

This program should ask a time traveler what year they are from, then give the appropriate response, but there are five errors:year == int.input("Greetings! What is your year of origin?")

if year < or == 2000:

print ('Woah, that's the past!')

elif year > 2000 and year < 2023:

print ("That's totally the present!")

elif:

print ("Far out, that's the future!!")

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!