write multiple ifs in a line python code example
Example: python double condition if
if conditionA and conditionB:
print('and')
if conditionA or conditionB:
print('or')
if conditionA and conditionB:
print('and')
if conditionA or conditionB:
print('or')