доступ к нескольким элементам из списка

# Python program to demonstrate
# accessing of element from list
 
# Creating a List with
# the use of multiple values
List = ["Softhunt", ".net", "Tutorials"]
 
# accessing a element from the
# list using index number
print("Accessing a element from the list")
print(List[0])
print(List[2])
 
# Creating a Multi-Dimensional List
# (By Nesting a list inside a List)
List = [['Tutorials', 'Hello'] , ['Softhunt']]
 
# accessing an element from the
# Multi-Dimensional List using
# index number
print("\nAccessing a element from a Multi-Dimensional list")
print(List[0][1])
print(List[1][0])
Outrageous Ostrich