Skip to content

Commit ff1d082

Browse files
committed
Rename a function
1 parent a5492d9 commit ff1d082

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebooks/intermediate/exercises/idiomatic_python_exercise.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
" \"\"\"\n",
126126
" max_value = _get_max_value(numbers)\n",
127127
" lower_case_words = _words_to_lowercase(words)\n",
128-
" most_common_info = _get_most_common_word(lower_case_words)\n",
128+
" most_common_info = _get_most_common_words(lower_case_words)\n",
129129
" most_common_words = most_common_info[0]\n",
130130
" most_common_count = most_common_info[1]\n",
131131
"\n",
@@ -175,7 +175,7 @@
175175
" return lowercased\n",
176176
"\n",
177177
"\n",
178-
"def _get_most_common_word(words):\n",
178+
"def _get_most_common_words(words):\n",
179179
" \"\"\"\n",
180180
" Finds the most common words in a list of words.\n",
181181
" If there are multiple different words with the same amount of occurrences,\n",

0 commit comments

Comments
 (0)