print integer value from float in python code example
Example 1: float to int in python
# convert float to int
int(2.0) #output :2
Example 2: python after division print only number and not float
#normal division
5 / 4
#1.25
#integer division
5 // 4
#1