Skip to content

Commit 254904c

Browse files
author
giumas
committed
minors to 005
1 parent 35de208 commit 254904c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

005_Write_Your_Own_Functions.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@
451451
" print(\"Nr. of elements: \" + str(len_a_list))\n",
452452
" \n",
453453
"temp_list = [23.0, 19.2, 18.5, 21.3, 20.4]\n",
454-
"result = print_len_list(temp_list)\n",
454+
"result = print_len_list(temp_list) # the function returns the default `None`\n",
455455
"type(result)"
456456
]
457457
},
@@ -473,7 +473,7 @@
473473
" return len_a_list\n",
474474
" \n",
475475
"temp_list = [23.0, 19.2, 18.5, 21.3, 20.4]\n",
476-
"nr_of_elements = len_list(temp_list)\n",
476+
"nr_of_elements = len_list(temp_list) # the function returns the number of elements in the list\n",
477477
"print(\"The number of elements is: \" + str(nr_of_elements))"
478478
]
479479
},

0 commit comments

Comments
 (0)