SHARE
TWEET

level chooser

a guest Jan 9th, 2013 31 Never
  1. def choose_level():
  2.     while True:
  3.         level = int(input("Enter your level by typing 1, 2 or 3\n"))
  4.         if level in [1, 2, 3]:
  5.             return level
RAW Paste Data
Top