Question: L 6 = [ ' Samson ' , 'Byron', 2 , 4 , 'Hicks', 'Copper', 'Goldman', 9 , 1 8 , 'Silver', 2 , 9

L6=['Samson', 'Byron', 2,4, 'Hicks', 'Copper', 'Goldman', 9,18, 'Silver', 2,9,18,4,6,9, 'Copper', 'Goldman', 'Hicks']
How do you implement Count method on List L6 to know the Occurrence of the element 'Copper' ?
Your Answer:
2. To get the Index value of the element called 4 from the List L6, How do you implement Index method?
Your Answer:
L 6 = [ ' Samson ' , 'Byron', 2 , 4 , 'Hicks',

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!