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
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.
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: ')
>
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: ')
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