Advertisements
Advertisements
Question
Explain the following built-in function.
round()
Answer in Brief
Advertisements
Solution
| Function | Description | Syntax | Example |
| round() | Returns the nearest integer to its input. 1. The first argument (number) is used to specify the value to be rounded. |
round (number [,ndigits]) |
|
shaalaa.com
Introduction to Python Functions
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
A Function which calls itself is called as ______
Which function is called anonymous un-named function?
Read the following statement and choose the correct statement.
In Python, you don’t have to mention the specific data types while defining the function.
Pick the correct one to execute the given statement successfully.
if ______ : print(x, " is a leap year")
Write the different types of functions.
How to set the limit for recursive function? Give an example.
Explain the following built-in function.
id()
Explain the following built-in function.
chr()
Explain the following built-in function.
type()
Explain the following built-in function.
pow()
