V
V
Vladimir Krasnopolsky2020-05-08 15:19:12
Python
Vladimir Krasnopolsky, 2020-05-08 15:19:12

How to fix "not defined" error when launching python game?

Hello, I decided to write my game in python.
When I run the program, I get an error:
Traceback (most recent call last):
File "game.py", line 15, in
isJump == False
NameError: name 'isJump' is not defined"

isJump == False

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanya Hihi Haha, 2020-05-08
@4atty

Would you show the code ... And so it is possible:
local variable might be referenced before assignment

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question