if foo == 'abc' and bar == 'bac' or zoo == '123':
# do something
# if statment
#'if' gives condition in statement to make program more efficient.
a=10
b=5
if a%b==0:
print('true')
output:
true
x = 1; y = 1
if x == 1 or y == 1:
print(x, y)
# 1 1
weather == "Good!" or weather == "Great!":
# Or the following
weather in ("Good!", "Great!"):