+ 2

Can someone tell me what’s wrong with this code? I just started learning.

https://code.sololearn.com/cHdmL9TfZYCG/?ref=app

21st Mar 2020, 6:50 PM
Addi Silva
Addi Silva - avatar
3 Respuestas
+ 1
https://code.sololearn.com/cfhCdj6rQ9Fw/?ref=app this is right code try this code in another python ide not in sololearns ide I used global variables in python functions variables just accesible in function if you want to acces out function you should use global functions
21st Mar 2020, 7:03 PM
meow
meow - avatar
0
okay that helped a lot! also thank you for the info
21st Mar 2020, 7:09 PM
Addi Silva
Addi Silva - avatar
0
You'r welcome!
21st Mar 2020, 7:09 PM
meow
meow - avatar