Vidyalelo
Python · Q39

Python Lists MCQs: Exam Practice for List Concepts

Programming · Python · question 39

Q39

What will be the output of the following Python code? >>>names = ['Amir', 'Bear', 'Charlton', 'Daman'] >>>print(names[-1][-1])

A.
A
B.
Daman
C.
Error
D.
n
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board