Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- faturamento = 0
- preco = []
- for j in xrange(5):
- x = input("Digite o preco de venda da mercadoria n." + str(j) +": ")
- preco.insert(j, x)
- for j in xrange(5):
- n = input("Digite a quantidade vendida da mercadoria n." + str(j) +": ")
- faturamento += n*(preco[j])
- print "O faturamento eh: ", faturamento
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement