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

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

ssl - how to download/uplaod file over HTTPS using Indy 10 and OpenSSL in delphi? -

SoapUI on windows 10 - high DPI/4K scaling issue -