an example of if else in python
Example: if statement python
number = 5
if number == 5:
print("number equals 5")
else:
print("number does not equal 5")
number = 5
if number == 5:
print("number equals 5")
else:
print("number does not equal 5")