Question: please write it in python Suppose obj1 = [3, 4, 6] Write a print statement that will display [3, 4, 6, 3, 4, 6, 3,
please write it in python
Suppose
obj1 = [3, 4, 6]
Write a print statement that will display
[3, 4, 6, 3, 4, 6, 3, 4, 6, 3, 4, 6, 3, 4, 6]
b) Write a statement that will add "Andrea" to the end of the following list
object.
lst_obj = ["John", "Patricia", "Daryl"]
c) Write a statement that will delete the item stored at index 3 of the list
object.
lst_obj=["Gina", "Erika", "McNeill", "Kristine", "Wilma"]
d) Write a statement that will define a tuple object tObj with the value 9
assigned to it.
e) Let
aObj = [[4,5], [-1,0,2], [6], [10,15,28,-5]]
Write a print statement that will display the value 10 in the list.
f) Let
aObj = [[4,5], [-1,0,2], [6], [10,15,28,-5]]
Write a print statement that will display [-1,0,2] in the list.
g) Write a print statement that will display the size of the following list
object.
AObj = [[4,5], [-1,0,2], [6], [10,15,28,-5]]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
