Skip to main content

Practice ยท 2 of 2

No Star Pollution

CHALLENGE
Difficulty: intermediate+25 XP

Implement count_vowels(text) in a way that only defines the function and the constant VOWELS at module level. The grader checks that importing your code does NOT define the common name 'temp' โ€” i.e., don't leak work variables to module scope.

Back to lesson: Practice: Import Discipline