how to convert user input to float in python code example Example: how to take list of float as input in python float_list = list(map(float, input().split()))