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