Answers for "how to define float in 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
1

float inf in python

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

Code answers related to "how to define float in python"

Browse Popular Code Answers by Language