numOfVowles.py (206B)
1 def count(string): 2 counter = 0 3 for i in string.lower(): 4 for j in ["a","e","i","o","u"]: 5 if i == j: 6 counter = counter + 1 7 return counter 8 print(count("hello"))
schoolthing1's amazing school repo | |
| Log | Files | Refs | Submodules | README |