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