In this example we will show how to use the or keyword to combine conditional statements in Python.
Source Code
x = 5
y = 8
z = 10
if y > x or y > z:
print("At least one condition is True!")
Output:
At least one condition is True!
In this example we will show how to use the or keyword to combine conditional statements in Python.
x = 5
y = 8
z = 10
if y > x or y > z:
print("At least one condition is True!")
Output:
At least one condition is True!