fork download
  1. values = [1, 2, 3, 4, 5]
  2.  
  3. if 9 not in values:
  4. print("9 não pertence à lista.")
  5. else:
  6. print("9 pertence à lista.")
  7.  
Success #stdin #stdout 0.02s 27704KB
stdin
Standard input is empty
stdout
9 não pertence à lista.