writing an if statement in python code example
Example 1: or statement python
if x==1 or y==1:
print(x,y)
Example 2: how to do if= python
#if you are doing this
if X=1
#Do this
if X==1
if x==1 or y==1:
print(x,y)
#if you are doing this
if X=1
#Do this
if X==1