Exercise: Getting Started
Let's test the concepts we've learned with a coding exercise.
We'll cover the following
Exercise 1
In this exercise, you will count the number of vowels in a string. You will use the count()
function for this exercise.
Also, note that the string may have both upper and lowercase characters. Therefore, you will use the Python function to convert your string into a sentence with lowercase characters.
You can attempt your solution in the code snippet below.
Get hands-on with 1400+ tech skills courses.