TÓPICO
Resolvido - Python
RhuanGonzaga perguntou 1 year ago
items = {1: 4.00 ,2: 4.50 ,3: 5.00 ,4: 2.00 ,5: 1.50}
A,B = map(int,input().split())
total = items[A] * B
print("Total: R$ %.2f" % total)
Resolvido - Python
items = {1: 4.00 ,2: 4.50 ,3: 5.00 ,4: 2.00 ,5: 1.50}
A,B = map(int,input().split())
total = items[A] * B
print("Total: R$ %.2f" % total)