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

int():-

        It converts integer literal, float literal and string literal into integer number.

Example:-

print(int(1))

print(int(5.30))

print(int(“10”))

 

Output

1

5

10

error: Content is protected !!