python if multiple and or 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')