check two conditions with and 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')