Advertisements
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
संबंधित प्रश्न
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")
What is a function?
How to set the limit for recursive function? Give an example.
Explain the different types of functions with an example.
Write a Python code to find the L.C.M. of two numbers.
Explain the following built-in function.
chr()
Explain the following built-in function.
type()
Explain the following built-in function.
pow()
