Python Hacking Game I returned a value but its not being accessed by the other functions. Why is this?
strikeouts27
my code:
https://paste.pythondiscord.com/VH7A
I am trying to create a hacking game similar to this.
automate the boring stuff with python solution code:
https://paste.pythondiscord.com/4RMA
https://inventwithpython.com/bigbookpython/project33.html
The thing is, when I try to access the word list which, is a list of the available words for the game and what is returned on def word_selection, python says it is unavailable for other functions. I thought returning something makes it accessible for other functions.