Home »
Python »
Python List MCQs
What element will come at index 5?
8. What element will come at index 5
L1= [99,12,3,33,"ram", "hello",122]
- Ram
- Hello
- 33
- None
Answer: B) Hello
Explanation:
At index 5 hello will come. In the example given above this will be the following indexes: -
99 |
12 |
3 |
33 |
ram |
hello |
122 |
Index 0 |
Index 1 |
Index 2 |
Index 3 |
Index 4 |
Index 5 |
Index 6 |