- else if
Conditionals: else if
examples/basics/else-if.py
def main(): a = input('First number: ') b = input('Second number: ') if int(a) == int(b): print('They are equal') else: if int(a) < int(b): print(a + ' is smaller than ' + b) else: print(a + ' is bigger than ' + b) main()