Re: [Tutor] Help

2018-05-15 Thread Steven D'Aprano
On Tue, May 15, 2018 at 08:01:13PM -0500, boB Stepp wrote: > On Tue, May 15, 2018 at 7:51 PM, Steven D'Aprano wrote: > > > You also seem to be using Python 2. In Python 2, you should never use > > the input() function. Instead, use raw_input() instead. > > What are you seeing that suggests the O

Re: [Tutor] Help

2018-05-15 Thread boB Stepp
On Tue, May 15, 2018 at 7:51 PM, Steven D'Aprano wrote: > You also seem to be using Python 2. In Python 2, you should never use > the input() function. Instead, use raw_input() instead. What are you seeing that suggests the OP is using Python 2? I am missing what you are seeing/understanding.

Re: [Tutor] Help

2018-05-15 Thread Steven D'Aprano
On Tue, May 15, 2018 at 02:49:54PM -0500, Sam Hoffman wrote: > Traceback (most recent call last): > File "/Users/samhoffman/Documents/test.py", line 54, in > Battle() > File "/Users/samhoffman/Documents/test.py", line 41, in Battle > Move = input('What Will You Do? Fight or Run: ') >

Re: [Tutor] Help

2018-05-15 Thread boB Stepp
Greetings! On Tue, May 15, 2018 at 2:49 PM, Sam Hoffman wrote: > Traceback (most recent call last): > File "/Users/samhoffman/Documents/test.py", line 54, in > Battle() > File "/Users/samhoffman/Documents/test.py", line 41, in Battle > Move = input('What Will You Do? Fight or Run: ')

[Tutor] Help

2018-05-15 Thread Sam Hoffman
Traceback (most recent call last): File "/Users/samhoffman/Documents/test.py", line 54, in Battle() File "/Users/samhoffman/Documents/test.py", line 41, in Battle Move = input('What Will You Do? Fight or Run: ') File "", line 1, in NameError: name 'Run' is not defined import time