@@ -0,0 +1,1730 @@
+# Income Tax Calculator%0A%0A# Andrew Gill - 27/08/2013%0A%0A# This is a mini program for calculating how much money I'll earn in a year%0A# Created while learning python, only for fun%0A%0A# Declare Variables First%0Aprint %22%22%22 %0A  %09Income Tax Calculator%0A%09%0A%09Author:    Andrew Gill%0A  %09Created:   September 2014%0A%09Revision:  0.1%0A%09%22%22%22%0A%0A%0Awage_weekly =  raw_input(%22Please Enter The Amount You Get Paid Per Week: %22) #Asks User for weekly wage%0Awage_monthly = int(wage_weekly) * 4  or raw_input(%22Please Enter Your Monthly Wage: %22)# Calculates Monthly Wage based upon 4 weeks per month%0Awage_yearly = int(wage_monthly) * 12 #Calculates Monthly Wage based upon 12 months per year%0Abasic_income_tax = int(wage_yearly) * 0.2  # Calculates Basic Income tax amount @ 20%25%0Ahigher_income_tax = int(wage_yearly) * 0.4 # Calculates Higher Income tax amount @ 40%25%0Aprint%0A# Begin If loop to calculate amount of income tax to be paid%0Aif wage_yearly %3E 0 and wage_yearly %3C 32010:%0A%0A    print str(basic_income_tax) + %22 is the basic amount of income tax you should be paying, this translates to 20%25%22 %0A%0A    %0A%0Aelif wage_yearly %3E 32011 and wage_yearly %3C 150001:%0A%0A   print str(higher_income_tax) + %22 is the higher amount of income tax you should be paying, this translates to 40%25%22%0A%0A    %0A%0Aelse: %0A%0A%09print %22You Earn Too Much!%22%0A%0Aprint%09%0A%0Aprint %22You earn %22 + str(wage_weekly) + %22 Pounds Weekly%22 %0A%0Aprint %22You earn %22 + str(wage_monthly) + %22 Pounds Monthly%22%0A%0Aprint %22You earn %22 + str(wage_yearly) + %22 Pounds Yearly%22 + %22 before tax%22%0A%0A%0Awageb_aftertax = int(wage_yearly) - int(basic_income_tax)%0A%0Awageh_aftertax = int(wage_yearly) - int(higher_income_tax)%0A%0Aprint %22You will earn %22 + (str(wageb_aftertax) or str(wageh_aftertax)) + %22 pounds after tax%22%0A%0Araw_input(%22%5Cn%5CnPress the Enter key to exit.%22)%0A

Version 0.1, Takes weekly wage