Question: Using the list a defined below, write a Python program that will Display a string that consists of the first letter and last letter from
Using the list a defined below, write a Python program that will
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.
Display list a with all the names reversed That is display
dilcuE, sedemihcrA etc. (each one of them)
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
Display the total number of characters in the list a Hint: Sum the lengths of each name
a = [ "Euclid", "Archimedes", "Newton","Descartes", "Fermat", "Turing", "Euler", "Einstein", "Boole", "Fibonacci", "Nash", "Wiles", "Cantor", "Gauss", "Plato"]
Could anyone help me out with this? people have tried to help but i cannot get the code to work on python correctly, there are always syntax errors, please make sure it works, thank you so much! (if anyone could include a screenshot of the code and output i would appreciate it)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
