Report Bug
Qus :

What will be the output of the following Python code?

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

Qus

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

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


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


Solution
A. dlrowolleh



Explanation
Execute in shell to verify.



Report Bug