1 2 3 4 5 6 7 8 9
spam = 4 if spam == 1: print('Hello') if spam == 2: print('Howdy') else: print('Greetings!')