Using True and False in variables



examples/boolean/true_and_false.py
x = True
y = False


if x:
    print("X is True")
else:
    print("X is False")


if y:
    print("Y is True")
else:
    print("Y is False")


# X is True
# Y is False