Class Gui: # будущее гуи, получает данные о спортсмене
# и передает в класс Person
def input(self):
self.inputName =input("name")
return self.inputName
the_app=Gui()
print the_app.input()
How to decide my problem?
Please help now, i get this error
Traceback (most recent call last):
File "/home/julia/COURSEWORK/person.py", line 34, in <module>
print the_app.input()
File "/home/julia/COURSEWORK/person.py", line 29, in input
self.inputName =input("name")
File "<string>", line 1, in <module> NameError: name 'j' is not defined