A simple code example to calculate the monthly payment on a mortgage loan. Takes a look at Python's newer print and format functions.
chriswelborn commented: always good examples +1
TrustyTony commented: I do not like the unnecessary and confusing () around single values. -3
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
chriswelborn commented: very true, the syntax is so obvious it almost feels 'wrong' coming from another language. +1
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
Lucaci Andrew commented: Nice one. +5
BustACode commented: Good stuff. Looks to also be my entry into decorators. +0