x = 10 y = 20 maior_valor = x if x > y else y print(maior_valor) # Saída: 20