Question: Show the code to create a list called vowels of the five vowels as strings: a, e, i, o, u. Then use methods to: -
Show the code to create a list called vowels of the five vowels as strings: a, e, i, o, u. Then use methods to:
- remove the letter e, wherever it is
- remove the last element of the list, whatever it is
- add "y" to the end of the list
- add "w" as the new third element in the list
- then add the list ['5', '6'] to the end of vowels
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
