Python Hacking Game I returned a value but its not being accessed by the other functions. Why is this?
I am trying to create a hacking game similar to this.
automate the boring stuff with python solution code:
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.