Examveda

What is the output of the following code:
string = "Python"
print(string[::-1])

A. nohtyP

B. n
o
h
t
y
P

C. Python

D. P
y
t
h
o
n

Answer: Option A


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python