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 statement?
>>>”abcd”[2:]

What will be the output of the following Python statement?
>>>”abcd”[2:]
a) a
b) ab
c) cd
d) dc

Answer: c
Explanation: Slice operation is performed on string.

Join The Discussion