-
Given the list
li = [2, 0, 2, 2]
- Append to the end of the list the number 7
- Insert to the beginning of the list the number 1
- Insert in the second place the number 20
-
What will be the result of running the following line?
li.insert(20, 0)
-
li.append(7)
li.insert(0, 1)
li.insert(1, 20)
-
It will append 0 to the end of the list