TOPIC

meu codigo esta dando erro alguem pode me ajuda?!

Ana Costa asked 2 years ago

codigo = int(input('')) quantidade = int(input(''))

if codigo == 1: total = (4.00 quantidade) print('Total: R$ {:.2f}'.format(total)) elif codigo == 2: total = (4.50 quantidade) print('Total: R$ {:.2f}'.format(total)) elif codigo == 3: total = (5.00 * quantidade) print('Total: R$ {:.2f}'.format(total))

elif codigo == 4: total = (2.00 * quantidade)

print('Total: R$ {:.2f}'.format(total))

elif codigo == 5: total = (1.50 * quantidade)

print('Total: R$ {:.2f}'.format(total))

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.