# Author: James Tam # Version: 2014 MIN_INCOME = 0 runAgain = "yes" while (runAgain == "yes"): #Outer loop print("CALCULATING A TAX RETURN") income = -1 while (income < MIN_INCOME): #Inner loop income = int(input("Income $")) print("Income for the tax year $%.2f" %(income)) runAgain = input("To calculate another" + \ " return enter 'yes': ")