Question: What is wrong, if anything, with this code? #the teacher's version CurrentYear = 2 0 2 0 myYeah = input ( What year were

What is wrong, if anything, with this code?
#the teacher's version
CurrentYear =2020
myYeah = input ("What year were you born ")
myAge = CurrentYear - int (myYear)
print("The number you entered is + myNumber")
Nothing, it works perfectly
Quotes are misplaced in the print statement
The first line needs to always be at the end of the code
Input is spelled wrong, it should be spelled with all capital letters
 What is wrong, if anything, with this code? #the teacher's version

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!