Source Code:
(back to article)
my_list = [1, 2, 3] my_list.insert(0, 4) print(my_list) # Output: [4, 1, 2, 3]
Result:
Report an issue