Answer the question
In order to leave comments, you need to log in
Gives an error when python code is valid in VS code, why?
There is a code:
age = 23
print(age)
>>> print(age)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'age' is not defined
Answer the question
In order to leave comments, you need to log in
Enter the text of the program in one window, and execute other code in the console.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question