Nguyễn Thị Thảo Sương
New member
What will be the output of the following Python code?
A. dlrowolleh
B. hello
C. world
D. helloworld
Code:
>>>str1="helloworld"
>>>str1[::-1]
B. hello
C. world
D. helloworld