Continue with your mobile number
The code demonstrates the use of the nonlocal keyword in Python, which allows a variable defined in an enclosing (but not global) scope to be modified. Here’s a breakdown:
The average cost price of two products, Lakme and Fruitjoy, is Rs. 400. These products are sold at profits of 10% and 20%, respectively. If the combined...
Profit percentage received on a product when sold for Rs.450 is equal to the percentage loss incurred when the same product is sold for Rs.300. Find the...
Abhinav bought some pencils for ₹ X. He sold 20% of pencils at 25% loss, one third at 20% profit and the remaining at 25% profit. If the total profit ...
A trader bought an article for Rs. 3000 and marked it 20% above of its cost price. If he sold it after giving a discount of Rs. 120 then find the profit...
The marked price of a chair is Rs. 600. If the chair is sold after allowing successive discounts of 15% and 25%, then find the se...
After selling 20 erasers, a Shopkeeper earn a profit of the selling price of 6 pencils. While selling 20 pencils, a shopkeeper losses a selling price of...
What is the total selling price of two clothes 'shirts' and 'Pants,' when a shopkeeper has made a profit of (13/37) times the cost price of 'Shirt'and i...
The combined average cost price of two items, Almonds and Walnuts, is Rs. 450. If Almonds are sold at a profit of 50% and Walnuts at a loss of 25%, resu...
A bag of cost price of Rs. 10000 is marked up by a certain percentage, and a discount percent of twice the markup percent is offered on it. If there is ...
A shopkeeper bought an article for Rs. 250. He sold it at profit 20% after allowing a discount of 20%. If instead he had sold it at 12% discount, then f...