Program to get the count of notes and shows the denomination
# values of notes notes = (50, 20, 10, 5, 1) amount = int(input('amount: ')) for note in notes: if amount >= note: print(f'{note} : {amount//note}') amount %= note else: print(f'{note} : 0')
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments