Problem 11
What will the following code display? numbers = [1, 2, 3, 4, 5] my_list = numbers[:1] print(my_list)
Problem 15
What is the difference between calling a list's remove method and using the del statement to remove an element?
Problem 18
Describe the following list methods: a. index b. insert c. sort d. reverse
Problem 23
Give two reasons why tuples exist.
Problem 24
Assume my list references a list. Write a statement that converts it to a tuple.
Problem 29
How do you change the lower and upper limits of the \(X\) and Y axes in a graph?