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 code snippet?
print(‘+99’.zfill(5))

What will be the output of the following Python code snippet?
print(‘+99’.zfill(5))
a) 00+99
b) 00099
c) +0099
d) +++99

Answer: c
Explanation: zeros are filled in between the first sign and the rest of the string.

Join The Discussion