+ 3

Can you guys help me why it keep saying that hunger and energy values are called before assignment?

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

18th Apr 2017, 9:05 PM
Efe Emir Pekmez
Efe Emir Pekmez - avatar
2 Respuestas
+ 3
If the variables are the same in all functions, try declare them as global.
18th Apr 2017, 9:31 PM
Alan
Alan - avatar
+ 2
Thanks trying now
18th Apr 2017, 9:36 PM
Efe Emir Pekmez
Efe Emir Pekmez - avatar