This is my student's code, and we can't figure out where the problem is.
Just do guess+=1 instead of global guess+=1, same thing all the global variables
guess+=1
global guess+=1
@TheDNAHero When we take global out, it says the variable can't be accessed.
Can someone help?
This is my student's code, and we can't figure out where the problem is.

Just do
guess+=1
instead ofglobal guess+=1
, same thing all the global variables@TheDNAHero
When we take global out, it says the variable can't be accessed.