Vidyalelo
Python · Q104

MCQs for Python Strings: Exam

Programming · Python · question 104

Q104

What will be the output of the following Python code? >>>example="helloworld" >>>example[::-1].startswith("d")

A.
dlrowolleh
B.
True
Answer
C.
-1
D.
None

Answer: Option B

Solution

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