We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20723f4 commit 5841959Copy full SHA for 5841959
Programming in Python/lesson_08.ipynb
@@ -47,7 +47,7 @@
47
" for word in text.split(\" \"):\n",
48
" record[\"word\"] = word\n",
49
" for char in word:\n",
50
- " if char in \"aeiou\":\n",
+ " if char.lower() in \"aeiou\":\n",
51
" record[\"vowels\"] = record[\"vowels\"] + 1\n",
52
" record[\"length\"] = record[\"length\"] + 1\n",
53
" records.append(record)\n",
0 commit comments