Module 5 Quiz Question 1 Python Beginner Course | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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 :)

31st Jan 2022, 10:34 PM
William Ludvigsen
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
31st Jan 2022, 10:53 PM
L.M.Paredes
L.M.Paredes - avatar