Q.

Which of the following is incorrect?

A. float(‘inf’)
B. float(‘nan’)
C. float(’56’+’78’)
D. float(’12+34′)
Answer» D. float(’12+34′)
Explanation: ‘+’ cannot be converted to a float.
1.5k
0
Do you find this helpful?
8

Discussion

No comments yet