Examveda
Examveda

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

A. o

B. t

C. h

D. n

Answer: Option A


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python