Report Bug

Qus

What is the output of following?

print(round(4.567, 2))
Qus

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

print(round(4.567, 2))


A. 4.56
B. 4.57
C. 4.5
D. 5


Solution
B. 4.57



Explanation
round(number, 2) rounds the number to two decimal places. <br><br>round(number, 2) number को 2 decimal places तक round करता है।
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad