Practice ยท 2 of 2
No Star Pollution
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.
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: Import Discipline