Write a Python program to calculate tax(GST or Income tax).
GST Amount = (Original Cost*GST Rate Percentage) / 100.
Net Price = Original Cost + GST Amount.
Answers
Answer:
Hope it helps! Mark brainliest.
Explanation:
Original_price = 504
Net_price = 741.3
GST_amount = Net_price - Original_price
GST_percent = ((GST_amount * 100) / Original_price)
print("GST = ",end='')
print(GST_percent,end='')
print("%")
Answer:
The Python program to calculate the tax (or GST) applicable on a certain amount is as follows:
#Definition of function
def taxcal(GSTrate,Amount):
Gstamt=(GSTrate*Amount)/100
return Gstamt
#The formula used for the computation is given in the problem itself
#Asking for user input for the Rate of tax and original amount
GSTrate = int( input( "Enter the rate of Taxation on the commodity:"))
Amount = int( input( "Enter the Total amount under consideration:"))
Gstamt = taxcal(GSTrate, Amount)
#Print the applicable tax on the user input value of price
print("The tax amount applicable on the given price is: Rs.", Gstamt)
"""Calculating the total amount of the commodity inclusive of all taxes (or GST)"""
Totalamt = Gstamt + Amount
#Printing the total amount of the price
print("The tax amount payable (inclusive of all taxes) is found to be: Rs.", Totalamt)
#SPJ3