Can someone help?
Voters
TheDNAHero
Just do guess+=1
instead of global guess+=1
, same thing all the global variables
LisaForsythe
@TheDNAHero
When we take global out, it says the variable can't be accessed.
My Python knowledge is subpar, but I believe you need to globalize the variable first before performing operations on it, instead of doing it at the same time. So:
@SixBeeps
Thank you so much! That worked