Home / Engineering / Problem Solving and Python Programming / Question

M

Mr. Dubey • 51.17K Points
Coach

Q.) What will be the output of the following Python expression? int(1011)?

(A) 1011
(B) 11
(C) 13
(D) 1101
Correct answer : Option (A) - 1011

Explanation:
 the result of the expression shown will be 1011. this is because we have not specified the base in this expression.

Share

Discusssion

Login to discuss.