Sep-25-2020, 02:26 AM
(Sep-25-2020, 02:11 AM)bowlofred Wrote: If this is cut&pasted properly, it should give an error when run. Python names are case-sensitive, and your print function is capitalized.
When I run this, it generates an error. I can't see any reason that the program wouldn't accept the input and continue on after you hit Return.
Output:what is your nameBob Traceback (most recent call last): File "caps.py", line 2, in <module> Print ("thank you " + name) NameError: name 'Print' is not defined
sorry I do have it as
name = input("What is your name ") print("thank you " + name)when I hit return it just jumps to the next line as if it was in a text document