Python_and_Data_Analytics_NEC_Week4_Solved
1. Write a program named count_ that prompts the user for a string and then displays a count of each of the vowels (a, e, i, o, u) and the total number of vowels contained in that string. Hint: Remember that vowels can also be uppercase letters. 2. Write a program named split_ that accepts a string in the format Age.FirstName and returns the value FirstName is Age years old. Length of Mary is X. Example: 22.Mary Mary is 22 years old. Length of Mary is 4.
Document information
- Uploaded on
- April 15, 2023
- Number of pages
- 2
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers