Question: Write a python program able to. A : Display a string that consists of the first letter and last letter from each of the names
Write a python program able to.
A: Display a string that consists of the first letter and last letter from each of the names in the list a
As an example the display should look like EdAsNn etc. use the + operator and prior lab
B: Display list a with all the names reversed That is display
dilcuE, sedemihcrA etc.
C: Display the number of vowels in list a NOTE ignore case A and a are to be considered the same. See OUTPUT below for the vowel I (There are eight Is in the list a SEE BELOW
Vowels are [a, e, i, o, u] NOTE: A and a are considered the same
D: Display the total number of characters in the list a Hint: Sum the lengths of each name
LIST
a = [ "Euclid", "Archimedes", "Newton","Descartes", "Fermat", "Turing", "Euler", "Einstein", "Boole", "Fibonacci", "Nash", "Wiles", "Cantor", "Gauss", "Plato"]
I'd appreciate if i can get the code :D
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
