@@ -0,0 +1,641 @@
+# Program used, again, for practicing Python%0A# syntax and conventions.%0A%0Aimport cs50%0A%0A# prepare coins & other variables%0Aq, d, n, p = 25, 10, 5, 1%0Aqn, dn, nn, pn = 0, 0, 0, 0%0Amoney = 0.0%0A%0A# prompt user for input%0Awhile money %3C= 0:%0A    %0A    print(%22O hai! How much change is owed?%22)%0A    money = cs50.get_float()%0A    %0A    if money %3E 0:%0A        break%0A%0A# now work out amount of coins owed%0Amoney = int(money * 100)%0A%0Awhile money %3E= q:%0A    money -= q%0A    qn += 1%0A%0Awhile money %3E= d:%0A    money -= d%0A    dn += 1%0A%0Awhile money %3E= n:%0A    money -= n%0A    nn += 1%0A%0Awhile money %3E= p:%0A    money -= p%0A    pn += 1%0A%0Aprint(%22Coins used: %7B%7D%22.format(qn + dn + nn + pn))%0A

Create greedy.py