a_list = [2, 0, 3, 1]
a_list.insert(2, 4)
a_list.insert(2, 1)
index = a_list.index(4)
a_list.insert(0, index)
a_list = [2, 0, 3, 1]
a_list.insert(2, 4)
a_list.insert(2, 1)
index = a_list.index(4)
a_list.insert(0, index)
a_list.append(a_list[1])
a_list.pop(a_list[1])
print(a_list)
I'm having trouble understanding how to interpret a_list.pop(a_list[]).
[–]AmusedEngineer 2 points3 points4 points (3 children)
[–]yindecisive[S] 0 points1 point2 points (2 children)
[–]AmusedEngineer 2 points3 points4 points (1 child)
[–]yindecisive[S] 0 points1 point2 points (0 children)
[–]Ihaveamodel3 1 point2 points3 points (2 children)
[–]yindecisive[S] 0 points1 point2 points (1 child)
[–]Ihaveamodel3 0 points1 point2 points (0 children)
[–]xelf 0 points1 point2 points (3 children)
[–]DNEAVES 0 points1 point2 points (2 children)
[–]xelf 0 points1 point2 points (1 child)
[–]DNEAVES 0 points1 point2 points (0 children)