Question
In Python, if you want to call the constructor of a
parent class explicitly, which method do you use?Solution
In Python, super().__init__() is the standard way to call the parent class constructor.
Divakar spends 30% of his salary on house rent, 20% of the remaining amount on shopping, 25% of the remaining on education fees, and the rest is divided...
In a company, the production proportions of tables, chairs, and laptops are 10%, 30%, and 60% of their combined total production, respectively. The perc...
A gets 34% of the full marks in an exam and fails by 80 marks. B gets 36% of the full marks in the same exam and he also fails by 64 marks. What is the ...
A certain sum becomes Rs 13650 at 15% p.a. simple interest after 2 years. What will be the amount (in RS) of the same sum after 1 year at the same rate ...
Ramesh bought 900 marbles from a shop out of which 25% marbles were broken. 40% of non broken marbles are of red colour. Calculate total number of red c...
If the price of a rice bag is reduced by (50/3)%, by what percentage should a family increase its consumption of rice bags to ensure that their total ex...
On Wednesday, the price of tomatoes increased by x% as compared to Tuesday and the price of tomatoes decreased by x/2% on Tuesday as compared to Monday....
The ratio between the numbers of girls and boys in a class is 2:3 respectively. What is the percentage of girls in the class?Â
- If the price of a wheat bag is reduced by 25%, by what percentage should a family increase its consumption of wheat bags to ensure that their total expendi...
Rajesh spent 46% of his monthly income on food and 54% of the remaining of study. If total monthly savings (after spending on food and study) of Rajesh ...