<jupyter_start><jupyter_text>Write a program the prompts the user for their income and caclualtes the tax payable.[Resident tax rates 2021–22Taxable income](https://www.ato.gov.au/rates/individual-income-tax-rates/)Income            | Tax on this income ------------------|----------------------0 – \$18,200       | Nil\$18,201 – \$45,000 | 19 cents for each \$1 over \$18,200\$45,001 – \$120,000 | \$5,092 plus 32.5 cents for each \$1 over \$45,000\$120,001 – \$180,000 |  \$29,467 plus 37 cents for each \$1 over \$120,000\$180,001 and over | \$51,667 plus 45 cents for each \$1 over \$180,000 Steps to Complete Programm:1. Get User Income Amount. 2. Calculate the Tax.<jupyter_code>def get_income():
  income = float(input("what is your Your Yearly Income ?"))
  print("Your Income:",income)
  return income
def tax_calculation(income):
  if income < 18200:
    tax_payable = o
  elif 18200 < income < 45000:
    tax_payable = 0.19 * (income - 18200)
  elif 45000 < income < 120000:
    tax_payable = 5092 + 32.5 * (income - 45000)
  elif 120000 < income < 180000:
    tax_payable = 29467 + 37 * (income - 120000)
  elif income > 180000:
    tax_payable = 51667 + 45 * (income - 18000)
  else:
    print("Enter Proper Value...")
  return tax_payable 
# Main Line
# Step 1:
income = get_income()
# Step 2:
tax_payable = tax_calculation(income)
# Step 3:
print("Your Tax Payable Value is :" ,tax_payable)<jupyter_output>what is your Your Yearly Income ?185236
Your Income: 185236.0
Your Tax Payable Value is : 7577287.0
{'fraction_non_alphanumeric': 0.1493421052631579, 'fraction_numerical': 0.14144736842105263, 'mean_word_length': 3.190082644628099, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '383889', 'license': 'MIT', 'n_tokens_mistral': 703, 'n_tokens_neox': 500, 'n_words': 173, 'path': 'tax_calculation.ipynb', 'repo_name': 'Parshav-Shah/ISYS5002_portfolio', 'size': '1520'}