fork download
  1. categoryChoice = input("what is your category choice?")
  2. if categoryChoice not in ("category1", "category 2", "category 3"):
  3. print("not a valid choice")
Success #stdin #stdout 0.15s 10264KB
stdin
foobity bar
stdout
what is your category choice?not a valid choice