Which of the following expressions results in an error?
(a) float(‘10’)
(b) int(‘10’)
(c) float(’10.8’)
(d) int(’10.8’)
I had been asked this question during an interview.
This intriguing question comes from Precedence and Associativity in chapter Precedence and Associativity, Bitwise & Boolean of Python