Can you please fix it? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 5

Can you please fix it?

first lesson in python of simple game im drowning in the sea of classes https://code.sololearn.com/cHl4PEIB1PcV/?ref=app

10th Jun 2018, 3:30 PM
misgav yosef
misgav yosef - avatar
4 ответов
+ 2
i have a def go(): !
14th Jun 2018, 9:02 PM
misgav yosef
misgav yosef - avatar
+ 5
your code runs correct, but here, in SoloLearn Playground your code gets some input only at the begin of execution. In this realisation it's not possible to make your code interactive.
10th Jun 2018, 4:30 PM
Dmitriy
Dmitriy - avatar
+ 4
what is "nameError" means? check the code now
11th Jun 2018, 4:24 PM
misgav yosef
misgav yosef - avatar
+ 3
nameError means that you didnot defined the function named go, so element "go":go of dictionary in line 22 cannot be created
13th Jun 2018, 8:11 AM
Dmitriy
Dmitriy - avatar