Advertisements
Advertisements
Question
Differentiate ceil() and floor() function?
Distinguish Between
Advertisements
Solution
|
Cell() |
Floor () |
| ceil() returns the smallest integer greater than or equal to the given value. | floor() returns the largest integer less than or equal to the given value. |
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?
While defining a function which of the following symbol is used.
Pick the correct one to execute the given statement successfully.
if ______ : print(x, " is a leap year")
What is a function?
Write the different types of functions.
Write a Python code to check whether a given year is a leap year or not.
Explain the following built-in function.
id()
Explain the following built-in function.
round()
Explain the following built-in function.
pow()
