After running the below code, python prompt error and tell me name "tony" is not defined.
print('Hello Sam, this is Javis') #let user enter their name, "nm" being the variable nm = input('Please tell me your name => ') print('It is definitely nice to meet you',nm,'!')
I input name as "Tony"
What did i do wrong?
Daniel Saggo answered question
Have an answer?