#try to avoid input function a = int(input()) if a <= 100000: print("your tax payable is 10%",(10/100)*a) elif 250000 >= a > 100000: print("your tax payable is 20%",(20/100)*a) elif a > 250000: print("your tax payable is 30%",(30/100)*a) else: print("invlaid input")
Click the run button. Try to avoid input() function.