I am developing a text based rpg, but do not know how to go to different def statement, but it says it is not defined. Help?
Jacklittle01
-3
Light Poster
Recommended Answers
Jump to Postuhhhh... on a different computer
No problem, we can wait.
do not know how to go to different def statement,
As in:
def printMenu(): print('1: Option 1\n2: Option 2\n3: exit') def menu(): answer = "" while(1): printMenu() answer = input("Choose: ") if (answer …
All 4 Replies
Gribouillis
1,391
Programming Explorer
Team Colleague
Jacklittle01
-3
Light Poster
Lucaci Andrew
140
Za s|n
Jacklittle01
-3
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.