Python-Quizzes | Python List Quiz | Question 2

Last Updated :
Discuss
Comments

Find the output of the following program: 

Python
li = ['Harsh', 'Pratik', 'Bob', 'Dhruv'] 
print (li[1][-1]) 

r

b

D

k

Share your thoughts in the comments