Skip to content

Instantly share code, notes, and snippets.

@anddam
Created November 10, 2016 07:11
Show Gist options
  • Save anddam/04fc243d51094d33d7abb4cf10bb526f to your computer and use it in GitHub Desktop.
Save anddam/04fc243d51094d33d7abb4cf10bb526f to your computer and use it in GitHub Desktop.
charclass = None
while charclass not in classdict:
charclass = input("Select a class in (mage, warrior, rogue): ")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment