cant understand this from the lesson list operations | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

cant understand this from the lesson list operations

Drag and drop from the options below to add 'z' to the end of the list and print the list's length. list. ____ ('z') print( ____ _____ ) [len, list, append, insert, index.]

30th Apr 2019, 7:19 AM
R. Krishna
2 Answers
+ 9
It should be append : to append z at last of list and len(list) : to get length of list
30th Apr 2019, 7:48 AM
Rstar
Rstar - avatar
+ 2
Read on data structures
30th Apr 2019, 7:46 AM
Da2
Da2 - avatar