adplus-dvertising
frame-decoration

Question

Which of the following expressions results in an error?

a.

int(1011)

b.

int(‘1011’,23)

c.

int(1011,2)

d.

int(‘1011’)

Posted under Python

Answer: (c).int(1011,2)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following expressions results in an error?