Printing format review:
## Print format practice ## 1. add a new field: total = 500322.789856341 with 15 spaces and 4 decimals ## 2. change the field format for amount to be just 10 spaces long and 3 decimals ## 3. add a new field: name = "Tuesday" to be 8 spaces long ## Question # 8 of 2nd review day name = "Tuesday" total = 500322.789856341 year = 23 amount = 567.435643231 print ("%4d%21.2f" % (year, amount)) print ("0000123456789012345678901234567890") ## ##>>> ## 23 567.44 ##0000123456789012345678901234567890 ##>>>