Vidyalelo
Python · Q54

MCQs for Python Strings: Exam

Programming · Python · question 54

Q54

What will be the output of the following Python statement? >>>"abcd"[2:]

A.
a
B.
ab
C.
cd
Answer
D.
dc

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board