Example & Tutorial understanding programming in easy ways.

What is the purpose of using the 'not in' in Python ?

Program:

l=[1,2,3,4]

if 5 not in l:

     print("Not present")

output:

Not present

Read More →