Answers for "how to put not in python"

2

not in python

# False
print(not(1 == 1))

# True
print(not(1 == 2))
Posted by: Guest on November-22-2020

Code answers related to "how to put not in python"

Python Answers by Framework

Browse Popular Code Answers by Language