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

python - Setting ctypes.Structure default values -

javascript - Hide toolbar of pdf file opened inside iframe using firefox -

Ansible - ERROR! the field 'hosts' is required but was not set -