JustCaptain kod-buduschego
bb03bcdc780611e5fa808dc647b9a71eb07c292d
Перейти к файлу
Код
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))