Report Bug

Qus: What will be the value of = round (247, -2)?

Qus=round(247,-2) का क्या मान आएगा?


A. 247
B. 200
C. 240
D. 200.47


Solution
B. 200



Explanation

The round() function is commonly used to round a number to a specified number of decimal places. However, in this case, the second argument is -2, which means rounding to the nearest multiple of 100 (10 to the power of -2).

So, for the input round(247, -2), the result will be:

Identify the position to round to based on the negative exponent (in this case, -2).

The number 247 rounded to the nearest multiple of 100 is 200.

Therefore, round(247, -2) equals 200.

CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Sarkari Exam Quiz O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank