Question
Predict the output for below code in python Count
=10 Def function1() : Global Count for i in(1,2,3) : Count=Count+1 function1() print(Count)Solution
The variable Count is the same that is defined outside and inside the function , so the changes will be reflected to the same variable.
A certain amount earns simple interest of Rs. 1360 after 4 years. Had the interest been 5% more, how much more interest would it have earned?
By investing Rs. 6,000 for 'a' years at an annual compound interest rate of 15%, the interest gained amounted to Rs. 1,935. Determine the simple interes...
A took a loan of Rs.5520 at simple interest of 25% p.a. and invested the same money in a scheme at simple interest of 35% p.a. Find the profit earned by...
Ajay invested a sum of money, represented as Rs. 'x', in a financial plan that yields a 10% annual compound interest. After three years, the total inter...
Some amount out of Rs. 12000 was lent out at 10% per annum and the rest amount @ 16% per annum and thus in 5 years the total interest from both the amou...
Tina invested Rs. βxβ at 14% p.a. simple interest and Tanu invested Rs. (x + 700) at 11% p.a. If the total interest after 1 year is Rs. 615, find th...
A man deposited 25% of his salary to a bank which offers compound interest at the rate of 10% p.a. If the interest earned by him from the bank after 2 y...
- A person borrows money from a lender at a 16% p.a. simple interest. If he repaid Rs. 6,960 after 48 months to settle the loan, find the principal amount.
- Rs. 10,200 is the amount after 2 years when invested at r% p.a. in simple interest. If the rate had been (r + 6)% p.a., the final amount would be Rs. 10,92...
Someone puts Rs. 18,000 in a scheme offering simple interest at βx%β annually and receives Rs. 22,500 after 2.5 years. If he had instead invested Rs...