Examveda

What will be the output of the following Python code?
>>>example="helloworld"
>>>example[::-1].startswith("d")

A. dlrowolleh

B. True

C. -1

D. None

Answer: Option B


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python