Examveda
Examveda

What will be the output of the following code:
string = "Python"
print(string[1:4])

A. yth

B. ytho

C. thon

D. ytho

Answer: Option C


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python