y=float(input("Enter your yearly salary = "))
n=float(input("Enter the rent recieving = "))
q=float(input("Enter the yearly expense on consumer goods= "))
s=float(input("Enter the bills paid in one financial year ="))
z=float(input("Enter the amount paid on education = "))
d=float(input("Enter the amount paid on insurance of all the vehicles annually = "))
p=float(input("Enter the rent paid = "))
t=y-(n+p+q+s+z+d)
if (t>=0 and t<=500000):
t1=0
print("Due Rs. 0")
elif (t>=500000 and t<=800000):
t1=0
t2=(t-500000)*0.1
print("Your due tax =",t2+t1)
elif (t>=800000 and t<=1100000):
t1=0
t2=(500000)*0.1
t3=(t-1000000)*0.2
print("Your due tax =",t2+t1+t3)
elif (t>1100000):
t1=0
t2=(500000)*0.1
t3=(500000)*0.2
t4=(t-1500000)*0.3
print("Your due tax =",t2+t1+t3+t4)
else:
a=input("Enter your address = ")
print("You are a lier. Calling 112")
print("Calling......")
print("Calling......")
print("Calling......")
print("The cops are reaching at",a,"in 10 minutes")