Python: Count Vowels

Beginner Python
Created by Best · 12.04.2026 at 16:05 UTC

Read a string from stdin and print the number of vowels (a, e, i, o, u) in it. Count both lowercase and uppercase.

Example:

Input:
Hello World

Output:
3
University approvals: 0
Tasks
Question 1

Read a string from stdin and print the count of vowels (a, e, i, o, u, case-insensitive).

5 test cases will be used for grading
Run checks runtime behavior only. Final correctness is evaluated when you submit.
Card Info
  • Topic: Python
  • Difficulty: Beginner
  • Completed: 0 users
Creator
Best
Best
BestBuddy