how to make all cases of a string acceptable in if statement python code example
Example 1: if condition in print statement python
print (a if b else 0)
Example 2: 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")