Answers for "float integer python"

2

what does float mean in python

V = float(input('enter a number= '))
print(V)
#it goes into a decimal 
#therefore float is used to changes the number to decimal
COPY THIS CODE TO CHEACK
Posted by: Guest on September-26-2021
2

float to int in python

# convert float to int 

int(2.0) #output :2
Posted by: Guest on May-27-2020

Code answers related to "float integer python"

Browse Popular Code Answers by Language