TÓPICO
Python - Consegui! As vezes é coisa besta mesmo
tplins0 perguntou 2 years ago
x,y = map(int,input().split())
if(x == 1): z = 4.0 print("Total: R$ {:.2f}".format(y*z))
elif(x == 2): z = 4.5 print("Total: R$ {:.2f}".format(y*z))
elif(x == 3): z = 5.0 print("Total: R$ {:.2f}".format(y*z))
elif(x == 4): z = 2.0 print("Total: R$ {:.2f}".format(y*z))
elif(x == 5): z = 1.5 print("Total: R$ {:.2f}".format(y*z))
Este tópico ainda não foi respondido. Seja o primeiro!