How do you access the last element of a list named myList? - Study24x7
Social learning Network
28 Mar 2024 01:02 PM study24x7 study24x7

How do you access the last element of a list named myList?

A

myList[0]

B

myList[-1]

C

myList[len(myList)]

D

myList[-2]

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles