Examveda

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

A. dlrowolleh

B. hello

C. world

D. helloworld

Answer: Option A


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python