MCQ Answer

<p>What will be the output of the following Python code?</p><pre><span style="font-size: 14px;">str1="helloworld"<br></span><span style="font-size: 14px;">print(str1[::-1])</span></pre>

What will be the output of the following Python code?

str1="helloworld"
print(str1[::-1])


निम्नलिखित Python कोड का आउटपुट क्या होगा?

str1="helloworld"
print(str1[::-1])
Topic : Sequence data types in python

A. dlrowolleh

B. hello हेलो

C. world वर्ल्ड

D. helloworld हेलोवर्ल्ड




Correct Answer is :

A. dlrowolleh



Explanation
Execute in shell to verify.
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad