Vidyalelo
Python · Q122

MCQs for Python Strings: Exam

Programming · Python · question 122

Q122

What will be the output of the following Python code? >>>str1="helloworld" >>>str1[::-1]

A.
dlrowolleh
Answer
B.
hello
C.
world
D.
helloworld

Answer: Option A

Solution

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