Question: What, if anything, is wrong with this code? #the teacher's version CurrentYear = 2 0 2 0 myYear = input ( What year were
What, if anything, is wrong with this code?
#the teacher's version
CurrentYear
myYear input What year were you born
myAge CurrentYear int myYear
printYour age is strmyAge
There is a syntactical error and will not run
There is a logical error in the code and will not run
Variable is not defined
Nothing, it works perfectly fine
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
