New course! Every coder should learn Generative AI!
Try a free lesson+ 3
Can you guys help me why it keep saying that hunger and energy values are called before assignment?
2 Answers
+ 3
If the variables are the same in all functions, try declare them as global.
+ 2
Thanks trying now