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.
Información del documento
- Subido en
- 15 de abril de 2023
- Número de páginas
- 2
- Escrito en
- 2022/2023
- Tipo
- Examen
- Contiene
- Preguntas y respuestas