Загрузка...

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

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 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

Видео Write a Python Function to Count The Number of Vowels in a String автора Питон: сила изменения кода
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки