What is the purpose of the round() function in Python?
A. To round up a number
B. To round down a number
C. To round a number to the nearest integer
D. To round a number to a specified number of decimal places
Answer: Option D
Solution (By Examveda Team)
The round() function rounds a number to a specified number of decimal places.Related Questions on Data Types and Numeric Types
What data type is used to represent a sequence of characters in Python?
A. string
B. char
C. text
D. str
What is the purpose of the str() function in Python?
A. To convert a string to a number
B. To format strings
C. To concatenate strings
D. To convert a number to a string

Join The Discussion