number = 20 # Bad result = "even" if number % 2 == 0 else "odd" if number % 3 == 0 else "neither" print(result) # Good if number % 2 == 0: result = "even" elif number % 3 == 0: result = "odd" else: result = "neither" print(result)
even even