Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #basic function application
- def func1():
- print("This is function 1 output")
- def func2():
- print("This is function 2 output")
- def func3():
- print("This is function 3 output")
- def func4():
- print("This is function 4 output")
- while True:
- choice = input("What function would you like to run?")
- if choice == "1":
- func1()
- if choice == "2":
- func2()
- if choice == "3":
- func3()
- if choice == "4":
- func4()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement