In this 3-minute Python tutorial, I show you how to count the number of vowels in a sentence using a for loop and an if statement.
You’ll learn:
• How to loop through each letter in a sentence
• How to check if a letter is a vowel
• How to use .lower() in Python
• How to keep count with += 1
Perfect for Python beginners learning loops, conditions, and strings.
#Python #PythonTutorial #ForLoop #PythonBeginner #codingforbeginners