Program:l=[1,2,3,4]if 5 not in l: print("Not present")output:Not present
l=[1,2,3,4]
if 5 not in l:
print("Not present")
output:
Not present