Write a Python Function to Count The Number of Vowels in a String

preview_player
Показать описание
Hello Programmers, Welcome to my channel.

In this video you will learn about how to Write a Python Function to Count The Number of Vowels in a String

Python Scripts
======================

Python Functions Solved
==========================

Python Programs Solved
============================

Code
=============================
def count_vowels(data):
total = 0
vowels = "aeiouAEIOU"
for letter in data:
if letter in vowels:
total += 1
return total

text = input("Enter String : ")
print("Count of Vowels is : ", count_vowels(text))

Keywords
=============================
#python #python3 #python_assignment #pythonprogramming #pythontutorial #pythonprojects #pythoncourse #pythonbaba #pythonforbeginners #pythonautomation #pythonbasic #pythonbeginners
Рекомендации по теме