exercise 3 - lab 2- for

Run Settings
LanguagePython
Language Version
Run Command
# exercise 3 - lab 2 s = 'Counts English Vowels and Consonants' s = s.lower() print(s) countVowels = 0 countConsonants = 0 for str in s : if str in 'aoeiu': countVowels += 1 if str in 'bcdfghjklmnpqrstvwxyz': countConsonants += 1 print("countVowels = %s countConsonants = %s" % (countVowels, countConsonants))
Editor Settings
Theme
Key bindings
Full width
Lines