Explain the following built-in function. round()
Advertisements
प्रश्न
Explain the following built-in function.
round()
संक्षेप में उत्तर
Advertisements
उत्तर
| 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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
APPEARS IN
संबंधित प्रश्न
A Function which calls itself is called as ______
Which function is called anonymous un-named function?
While defining a function which of the following symbol is used.
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.
What is a function?
Write the different types of functions.
Differentiate ceil() and floor() function?
Write a Python code to check whether a given year is a leap year or not.
Write a Python code to find the L.C.M. of two numbers.
Explain the following built-in function.
pow()
