Search found 4 matches
- Tue Jul 22, 2025 10:55 am
- Forum: 1. Python For Data Science
- Topic: Python If and Else
- Replies: 2
- Views: 98
TDS Rate Calculator
# TDS Deduction print("Enter the nature of payment") print("1 - Contractor Payment") print("2 - Rent") print("3 - TDS on Interest") print("4- TDS on Professional Fees") k=int(input("Enter your choice")) if (k==1): c=input("Enter wheth...
- Tue Jul 22, 2025 10:49 am
- Forum: 1. Python For Data Science
- Topic: Numeric Operation
- Replies: 1
- Views: 54
Numeric Operation - Gst Use case
#Python program to get selling price and GST rate and print invoice along with both CGST and SGST values sp=float(input("Enter selling price:")) gst=float(input("Enter GST rate%:")) tax=(gst/100)*sp print("-------------Invoice-------------") print("Item Name------...
- Tue Jul 22, 2025 10:45 am
- Forum: 1. Python For Data Science
- Topic: Python If and Else
- Replies: 2
- Views: 98
GST Calculator
# To calculate gst using the Selection statements amt=int(input("Enter the amount")) print("Enter the category") print("1 - Fresh fruits, education, services, healthcarw") print("2 - basic mecess. packaged food, footwear , railway,etc") print("3- Process...
- Tue Jul 22, 2025 10:41 am
- Forum: 1. Python For Data Science
- Topic: Function
- Replies: 13
- Views: 130
Income Tax Calculator Function
def calculate_income_tax(income): """ Calculate income tax based on tax slabs. :param income: Annual taxable income :return: Tax amount """ tax = 0 # Example tax slabs (Modify as per your country) slabs = [ (250000, 0.00), # No tax for income up to 250,000 (500000, 0.0...