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
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 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.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
