Report Bug
Qus : What is the output of the following program ? print "Hello World".[::-1]
Qusनिम्नलिखित प्रोग्राम का आउटपुट क्या है? print "Hello World".[::-1]

A. dlroWolleH
B. Hello Worl
C. d
D. Error


Solution
A. dlroWolleH



Explanation
the correct form is : print ("Hello World"[::-1]) and its give the result dlroW olleH



Report Bug