Jak negować Python Boolean
a = True
print(a) #returns True
print(not a) #returns False
Sparky
a = True
print(a) #returns True
print(not a) #returns False
#Example I found:
my_boolean = 1
print(bool(my_boolean))
my_boolean = 0
print(bool(my_boolean))
my_boolean = 10
print(bool(my_boolean))
print("Coding" == "fun")
print(10 > 9)
print(10 == 9)
print(10 < 9)
#conditional statment
a = 200
b = 33
if b > a:
print("b is greater than a")
else:
print("b is not greater than a")