Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

SIKSHAPATH

SIKSHAPATH Logo SIKSHAPATH Logo

SIKSHAPATH Navigation

  • Home
  • Questions
  • Blog
    • Computer Science(CSE)
    • NPTEL
    • Startup
  • Contact
  • Delivery Policy for Sikshapath
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Questions
  • Blog
    • Computer Science(CSE)
    • NPTEL
    • Startup
  • Contact
  • Delivery Policy for Sikshapath
Home/Questions/Q 13435
Next
In Process
xyz1234
  • 1
xyz1234
Asked: March 17, 20222022-03-17T14:44:08+05:30 2022-03-17T14:44:08+05:30In: Python

Design a program in Python Using Parameterized Function to calculate the tax for the people living in Mango city. Specify …

  • 1
Design a program in Python Using Parameterized Function to calculate the tax for the people living in Mango city. Specify …

Design a program in Python Using Parameterized Function to calculate the tax for the people living in Mango city. Specify a Function description is given below:                                                                                                                                                                                 

Function name                                   Tax_Calculator

Variable names:                                  int PAN

                                                               String name

                                                               float taxable_Income

                                                               float tax

                             

The tax is calculated according to the following rules:

Total Annual Taxable Income

Rate of Taxation

Up to 60000

0%

Above 60000 but up to 150000

5%

Above 150000 but up to 500000

10%

Above 500000

15%

question
  • 1 1 Answer
  • 1k Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. I'M ADMIN
      2022-03-17T16:11:20+05:30Added an answer on March 17, 2022 at 4:11 pm
      def Tax_Cal(PAN, name, taxable_income, tax):
      if taxable_income<=60000:
      tax=0
      elif taxable_income>60000 and taxable_income<=150000:
      tax=5/100*taxable_income
      elif taxable_income>150000 and taxable_income<=500000:
      tax=10/100*taxable_income 
      elif taxable_income>500000:
      tax=15/100*taxable_income 
      print(tax)
      
      Tax_Cal(8575, "James", 70000, 0)
      • -9
      • Reply
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    Sidebar

    Stats

    • Questions 1k
    • Answers 1k
    • Posts 138
    • Best Answers 65
    • NPTEL Solution: Cloud Computing Assignment 2 Answers 2023
    • Solution Revealed: NPTEL Programming in Java Week 1 Assignment 2023
    • NPTEL Joy of Computing Using Python Assignment Answers Week 1 2023
    • NPTEL Cloud Computing Assignment 1 Answers 2023
    • NPTEL An Introduction to Artificial Intelligence Week 1 Assignment Answers 2023

    Popular Questions

    • I'M ADMIN

      Internshala ethical hacking final test answers: Question sequence differs but ...

      • 6 Answers
    • AK

      You have a green lottery ticket, with ints a, b, ...

      • 4 Answers
    • mj

      Solve by Gauss Elimination Method 5x+y+z+w=4 ,x+7y+z+w=12 , x+y+6z+w=-5, x+y+z+4w=-6

      • 3 Answers

    Explore

    • Recent Questions
    • Questions For You
    • Answers With Time
    • Most Visited
    • New Questions
    • Recent Questions With Time

    Footer

    Helpful Links

    • Disclaimer
    • Privacy Policy Notice
    • TERMS OF USE
    • FAQs
    • Refund/Cancellation Policy

    Follow

    © 2021-2022 Sikshapath. All Rights Reserved

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.