What element will come at index 5?

8. What element will come at index 5

L1= [99,12,3,33,"ram", "hello",122]
  1. Ram
  2. Hello
  3. 33
  4. 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

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.