+ 1

in control strutcures at list functions 3rd question why is it 7? please answer

in control strutcures at list functions 3rd question why is it 7? please answer

9th Jul 2019, 9:10 AM
Ersoy
1 ответ
+ 1
len is a function that returns the length of an iterable. Initially the list has 5 elements. Then one element is appended. Then another element is inserted (the following elements all move one spot to the right). So now there are 7 elements in that list.
9th Jul 2019, 10:00 AM
HonFu
HonFu - avatar