>>> x = 1 >>> if x == 1: ... print('Yes') Yes
>>> x = 5 >>> if x > 6: ... print('Yes') ... else: ... print('No') No
>>> x = 'A' >>> if x == 'C': ... print(x) ... elif x != 'A': ... print('No') ... else: ... print(x) A