Question: complete the python code to perform the following tasks using list methonds: 1 . append ABC in the given list using the list.append ( item

complete the python code to perform the following tasks using list methonds:
1.append ABC in the given list using the list.append(item) method.
2. reverse the order of the given list.
3. remove the second items from the list.
4. remove the ABC from the list.
sample input XYZ
sample output:
['XYZ', 'ABC']
['ABC','XYZ']
XYZ
[]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!