NIELIT O Level Exam

<p>What is the output of following?</p><pre>print(round(4.567, 2))</pre>

What is the output of following?

print(round(4.567, 2))


निम्न code का output क्या होगा?

print(round(4.567, 2))

A. 4.56

B. 4.57

C. 4.5

D. 5




Correct Answer is :

B. 4.57



Explanation
round(number, 2) rounds the number to two decimal places.

round(number, 2) number को 2 decimal places तक round करता है।
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad