Question: For the following code, what is the error? #the teacher's version CurrentYear = 2 0 2 0 myYear = input ( What year were

For the following code, what is the error?
#the teacher's version
CurrentYear =2020
myYear = input ("What year were you born ")
myAge = CurrentYear - myYear
print ("The number you entered is "+ myNumber)
The print statement needs to be spelled in all capital letters.
Nothing, this code is 100% correct.
The # is in the wrong place, it needs to be always at the bottom.
Can not do math with a str and an int.
 For the following code, what is the error? #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!