A. Using python, create two lists as follows: list1 = [1,2,3,4]and list2 = [6,7,8,9]. i. Add number
Fantastic news! We've Found the answer you've been seeking!
Question:
A. Using python, create two lists as follows: list1 = [1,2,3,4]and list2 = [6,7,8,9].
i. Add number 5 to list1
ii. Print list1
iii. Concatenate the two lists and name it "L". Print it.
iv. Remove number 7 from L. Print new list L
v. Remove the index 1 element of L. Print new list L
vi. Remove elements from index 0 to 3. Print final list L
Posted Date: