Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started