0
Module 5 Quiz Question 1 Python Beginner Course
List = [1, 2, 3, 4, 5, 6, 7] print(list[list[]]) What is the use for the list within the list? What does it do and how does it do it? I couldnât find anything that answered my question. Thank you :)
1 Answer
+ 2
to access the values of the list enter the name of the variable bracket index of the element close bracket
list[6,3,5,6,2,3]
list[3]=6
the indices go from zero to n according to the number of elements in the list
list[list[1]]=list[3]=6