InterviewSolution
Saved Bookmarks
| 1. |
Give the syntax to access an element from a list? |
|
Answer» To access an element from a list, write the name of the list, followed by the index of the element enclosed within square brackets. Syntax: List_Variable = [El, E2, E3 …………….. En] print (List_Variable [index ofa element]) |
|