# The most basic thing in confusion is not to understand chatting

2022-02-03 01:40:16

The tax payable for the year-end bonus is calculated ：
The year-end bonus is less than or equal to 4 Ten thousand yuan , Press 3% Pay taxes ;
The year-end bonus is greater than 4 ten thousand , Less than or equal to 10 Ten thousand yuan ,4 Press... For less than ten thousand yuan 3% Pay , beyond 4 Ten thousand , Press 10% Pay .
Annual bonus 10 Wan to 20 Ten thousand hours ,4 Press... For less than ten thousand yuan 3% Pay ,4 Wan to 10 Ten thousand press 10% Pay , higher than 10 10000 yuan press 20% Pay .
Annual bonus 20 More than ten thousand hours ,4 Press... For less than ten thousand yuan 3% Pay ,4 Wan to 10 Ten thousand press 10%,10 Wan to 20 Ten thousand press 20%, higher than 20 10000 yuan press 50% Pay .
Enter the year-end bonus from the keyboard , Tax payable ？

``while 1:  money = int(input(' Please enter the year-end bonus :'))  if (money <= 40000):     print(" Taxes :%f"%(money*0.03))  elif (money > 40000 and money<=100000):     print(" Taxes :%f"%(40000*0.03+(money-40000)*0.1))  else:     print(" Write it yourself later ")``