Advertisement
Guest User

newfile.py

a guest
Apr 21st, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. def function(game):
  2.     if game == 1:
  3.         print("Tetris")
  4.     elif game == 2:
  5.         print("Pacman")
  6.     else:
  7.         print("Quit")
  8.        
  9.      
  10. a = print(input("Choose an option\n1: Tetris\n2: Pacman\n3: Quit\n"))
  11. function(a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement