Funda swallow — the house mark in royal blueFundatryfunda.com
BetaUnder construction. Questions are being reviewed by teachers — enjoy the free practice in the meantime.

← All Computer Science

Python basics · Exercise

Count the vowels

Write a function count_vowels(text) that returns how many vowels (a, e, i, o, u) are in the text. Uppercase and lowercase vowels both count. Hint: Loop through each letter. Making the text lowercase first means you only check five letters.

Funda swallow, in gold

Excellence or Nothing

Funda ZIMSEC is in review: every question is an original draft, checked by a Zimbabwean teacher before it counts. Funda is an independent study product and is not affiliated with ZIMSEC.