Which of the following is incorrect syntax ?
float('nan')
float('Inf')
float('23' + '89')
float('23 + 89')
float('23' + '89') will be converted to float('2389') results in 2389.0 But "+" in float('23 + 89')can not be converted in float.
float('2389')
Comment here: