Answers for "input(float())"

16

html input float type

<input type="number" step="0.01">
Posted by: Guest on June-20-2020
2

input float python

# python code to take float input
val = float(input("Enter any number: "))
print("value of val2: ", val)
print("type of val2: ", type(val))
Posted by: Guest on April-10-2021

Browse Popular Code Answers by Language