if and not in python code example
Example: if not python
boolean = False
if not boolean: #Boolean is false.
print("No")
else: #Boolean is True
print("Yes")
boolean = False
if not boolean: #Boolean is false.
print("No")
else: #Boolean is True
print("Yes")