Answers for "float in python example"

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
1

float inf in python

float('inf')
float('-inf')
Posted by: Guest on May-18-2020

Browse Popular Code Answers by Language