python if statemn code example
Example 1: if statement python
#a statement that checks if a condition is correct
#example:
x=5
if x == 5:
print("x is 5")
else:
print("x is not 5")
Example 2: how to do if= python
#if you are doing this
if X=1
#Do this
if X==1