YouTip LogoYouTip

Python Exercise Example2

# Python2.x Python Exercise Instance 2 [![Image 3: Python 100 Examples](#) Python 100 Examples](#) **Question:** A company's bonuses are calculated based on profit. When the profit (I) is less than or equal to 100,000 yuan, the bonus can be withdrawn at 10%; when the profit is higher than 100,000 yuan but less than 200,000 yuan, the part below 100,000 yuan is withdrawn at 10%, and the part above 100,000 yuan can be withdrawn at 7.5%; between 200,000 and 400,000 yuan, the part above 200,000 yuan can be withdrawn at 5%; between 400,000 and 600,000 yuan, the part above 400,000 yuan can be withdrawn at 3%; between 600,000 and 1,000,000
← Python Exercise Example3Python Exercise Example1 β†’