Banknotes
- notes = int(input())
- print(notes)
- print("{} nota(s) de R$ 100,00".format(int(notes/100)))
- aux = (notes%100)
- print("{} nota(s) de R$ 50,00".format(int(aux/50)))
- aux = (aux%50)
- print("{} nota(s) de R$ 20,00".format(int(aux/20)))
- aux = (aux%20)
- print("{} nota(s) de R$ 10,00".format(int(aux/10)))
- aux = (aux%10)
- print("{} nota(s) de R$ 5,00".format(int(aux/5)))
- aux = (aux%5)
- print("{} nota(s) de R$ 2,00".format(int(aux/2)))
- aux = (aux%2)
- print("{} nota(s) de R$ 1,00".format(int(aux/1)))
0 Comments