Answers for "float input python"

1

how to take list of float as input in python

float_list = list(map(float, input().split()))
Posted by: Guest on October-06-2020
1

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

Python Answers by Framework

Browse Popular Code Answers by Language