Question: 1. myTuple = (1) myTuple is a Tuple (True/False) a) Lists and tuples can hold values of any type, strings are sequences of characters. (True/False)
- 1. myTuple = (1) myTuple is a Tuple (True/False)
- a) Lists and tuples can hold values of any type, strings are sequences of characters. (True/False)
- 2. Write output for the following statement:
- mylist = [1, 2, a, b, c]
- print (mylist[1:3])
- 3. Given mylist[1,2,3,4,5,6,7,8,9,10], del mylist[-2] removes the value ____ from the list
- 2
- 3
- 8
- 9
- 4. Assume you have a list called mylist. The slice expression _________creates a new list with the element of names in reverse order:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
