►
Run
x = 'Infinity' result = float(x) print(f'Return value : {result}')
Output