JustCaptain kod-buduschego
fd53ca53a7acd6747e1bbff7184ba2bca75932b7
Перейти к файлу
Код
kod-buduschego Python 2025-20262.6. Цикл Forpracticesteachbase.rutask_5.py
anc update c70a58f 8 октября 2026 г.
task_5.py
text: str = "Программирование на Python"
vowels: str = "аеёиоуыэюя"

text = text.lower()
count: int = 0
for char in text:
    if char.lower() in vowels:
        count += 1

print("КОЛ-ВО ГЛАСНЫХ БУКВ = {}".format(count))