0

Sorry if value is not the write word. I basically want to do this:

test = input("Place input here")

if test == "a", "A", "A.", etc. 
   print("You have no life!")

Any ideas?

1 Answers1

2

You need to use in like this:

if test in ["a", "A", "A."]:
ettanany
  • 19,038
  • 9
  • 47
  • 63