I am learning python basics and when using the input function i am getting certain errors.
What is your name? Michael
Traceback (most recent call last):
File "new.py", line 1, in <module>
name = input("What is your name? ")
File "<string>", line 1, in <module>
NameError: name 'Michael' is not defined
I've tried deleting and reinstalling all packages and I cannot figure out what is the issue with this.
The program is as follows.
name = input("What is your name? ")
print(name)
Not sure what i'm doing wrong. Also im using python version 3.6.5 on Visual Studio Code.