1

I'm new to python,so kindly please can anybody explain the difference between

if not 3 in [1,2,4,5]:
    print("true")

and

if 3 not in [1,2,4,5]:
    print("true") 
martineau
  • 119,623
  • 25
  • 170
  • 301
Robo 2.0
  • 11
  • 3

0 Answers0