Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following expressions results in an error?

a) float(‘10’)
b) int(‘10’)
c) float(’10.8’)
d) int(’10.8’)

Answer: d
Explanation: All of the above examples show explicit conversion. However the expression int(’10.8’) results in an error.

Join The Discussion