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
  • 112,593
  • 23
  • 157
  • 280
Robo 2.0
  • 11
  • 3

0 Answers0