Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- run = True
- print("Type quit to exit")
- def perform_math():
- a = input("Enter your equation:")
- if a == "quit":
- global run = True
- else:
- print(a)
- while run:
- perform_math()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement