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.

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

What will be the output of the following Python expression?
int(1011)?
a) 1011
b) 11
c) 13
d) 1101

Answer: a
Explanation: The result of the expression shown will be 1011. This is because we have not specified the base in this expression. Hence it automatically takes the base as 10.

Join The Discussion