Hello again everyone. I am creating a math game sort of...I dont know if they call it a case or switch statement but I want one in both my Menus. Also I am wondering if you can create an if statement or case statement that will support two variables...for example: if a == 2 and b == 3...THanks for your help and please respond as quick as possible...
by the way here is my code I would like you to fix with case statements:
import random
def difficult_menu():
print("""Difficulties:
1.) - Easy
2.) - Medium
3.) - Hard""")
return int(raw_input("Choose a difficulty"))
def type_menu():
print("""Types of Math:
1.) - Add
2.) - Subtract
3.) - Divide
4.) - Multiply""")
return int(raw_input("Choose one of the choices"))
def main():
x = difficult_menu()
type_menu()
main()