# Use the insert function on the array below so that it contains the numbers 1 to 10 in a sequence
# you will have to call the insert method multiple times
numbers = [1, 3, 5, 6, 7, 9, 10]
# your code here
numbers.insert(1,2)
numbers.insert(3,4)
numbers.insert(7,8)
No comments:
Post a Comment