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