nominals = (100, 50, 10, 1)
amount = int(input('amount = '))
output = {}
for n in nominals:
output[n] = amount // n
amount %= n
for k, v in output.items():
print(k, v, sep=':')
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment