Question 1
How can you create a list that contains both integers and strings in Python?
Question 2
Which list method can be used to add an element to the end of a list?
Question 3
What will be the output if `nums = [25, 12, 636, 95, 14]` and the operation `nums.remove(636)` is performed?
Question 4
Which list method inserts an item at a specific index?
Question 5
How would you access the last element of the list `nums`?
Question 6
Which of the following correctly creates a Python list with elements 25, 12, 636, 95, and 14?
Question 7
How would you use `del` to remove elements starting from index 2 to the end in the list `nums`?
Question 8
How can you merge another list, `[7, 8, 9]`, into an existing list `nums`?
Question 9
What built-in Python function is used to find the maximum value in a list?
Question 10
How can you remove all items from a list?
Question 11
What will be the result of `values = [9.5, 'name', 25]`?
Question 12
Which method should be used to add multiple elements to the end of a list?
Question 13
What will be the output of `nums[2:]` if `nums = [25, 12, 636, 95, 14]`?
Question 14
What does the `sort()` method do to elements in a list?
Question 15
Given the list `nums = [25, 12, 636, 95, 14]`, what does `nums[1:4]` return?
Question 16
If `nums = [25, 12, 636, 95, 14]`, what does `nums.pop(1)` return?
Question 17
If `nums = [25, 12, 636, 95, 14]`, what does `nums[0]` return?