Python Programming - Functions - Discussion

Discussion Forum : Functions - General Questions (Q.No. 42)
42.
What is the purpose of the round() function?
Computes the sum of elements in an iterable
Rounds a floating-point number to the nearest integer
Converts a string to uppercase
Sorts elements of a list in ascending order
Answer: Option
Explanation:
The round() function is used to round a floating-point number to the nearest integer.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.