Returning a list from a function in Python
- by Jasper
Hi,
I'm creating a game for my sister, and I want a function to return a list variable, so I can pass it to another variable.
The relevant code is as follows:
def startNewGame():
while 1:
#Introduction:
print
print """Hello,
You will now be guided through the setup process.
There are 7 steps to this.
You can cancel…