Run
x = ' 3.14 \n' output = float(x) print(f'Float value : {output}')
Output