Important Notice:

Course Content
The Calendar Module
Library Function/Predefined Functions
0/4
Sys Module
Library Function/Predefined Functions
0/2
OS Module
Library Function/Predefined Functions
0/2
Functions in Python (Chapter-10) M3-R5
About Lesson

 floor():-

        Floor() method returns the largest whole number less than or equal to integer.

Example:-

import math

print(math.floor(35.3))

print(math.floor(-35.50))

print(math.floor(10.0))

 

Output

35

-36

10

 

error: Content is protected !!