Vidyalelo
Python · Q39

MCQs for Python Data Types and Numeric Types Chapter

Programming · Python · question 39

Q39

What is the result of round(3.14159, 2) ?

A.
3.14
Answer
B.
3.15
C.
3.1
D.
3.141

Answer: Option A

Solution

Answer: Option A
Solution:
The round() function rounds a number to a specified number of decimal places.