In Python, arguments are passed to functions using pass-by-object-reference , a hybrid approach where the behavior depends on the object’s mutability. For mutable objects (e.g., lists, dictionaries), functions can modify the object directly, as the reference points to the same memory location. For immutable objects (e.g., integers, strings), any attempt to modify them results in a new object being created, leaving the original object unchanged. For example: def modify_list(lst): lst.append(4) my_list = [1, 2, 3] modify_list(my_list) print(my_list) # Output: [1, 2, 3, 4] In the case of immutables: def modify_int(x): x += 1 num = 5 modify_int(num) print(num) # Output: 5 This illustrates that Python’s approach is neither traditional pass-by-value nor pass-by-reference. Why Other Options Are Incorrect:
What principal amount, when invested at an annual simple interest rate of 3.6% for 15 years, will generate an interest of Rs. 4,050?
A sum of money lent at compound interest at the rate of 10% per annum is paid back in three equal instalments of Rs 3,993. Find the sum?
A sum of Rs. 50,000 is invested in SIP 'A' which offers 10% p.a. simple interest for 5 years. The interest received from SIP 'A' is invested in SIP 'B' ...
Manoj deposited a sum of money in a scheme that offers 10% annual compound interest for a period of three years. If the total interest he earned at the ...
Ragini borrowed ₹21,600 at a simple interest rate of 18% per annum, while Misthi borrowed ₹51,200 at an annual compound interest rate of 12.5%. Curr...
If interest is compounded half-yearly, then find the compound interest on Rs. 8,000 at the rate of 20% per annum for 1 year.
Raghav placed an amount of Rs. 'x' in an account with an annual compound interest rate of R%. After 3 years, the compounded annual amount is Rs.12167. A...
A sum of ₹12,000 is invested at an annual interest rate of 10% for 2 years. What is the difference between the compound interest and simple interest a...
The compound interest on a certain amount for 2 years at 4% per annum is ₹ 1,428 if interest is compounded annually. Find the simple interest on that ...
The simple interest earned on 2,400 at a rate of 5% per annum for 3 years is RS x and RS 1,736 is the simple interest earned on RS 6,200 at a rate of 14...