adplus-dvertising
frame-decoration

Question

To find the decimal value of 1111, that is 15, we can use the function:

a.

int(1111,10)

b.

int(‘1111’,10)

c.

int(1111,2)

d.

int(‘1111’,2)

Posted under Python

Answer: (d).int(‘1111’,2)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. To find the decimal value of 1111, that is 15, we can use the function: