python - I have a defined variable but the code says it is not defined -


enter image description here

i trying add option tell player if have won or loss in frame.

your function guess() declared inside function, main scope doesn't recognize it. must implement functions in main scope.


Comments

Popular posts from this blog

c++ - list<myClass<int> * > sort -

c - Defining floating point constants, how many digits are useful? -

C# Apple Bonjour - how to monitor service records within Windows -