Skip to content

Commit 9a65f13

Browse files
s0rtaronreiter
authored andcommitted
Remove pass keyword
Pass keyword is not brought up in tutorial so far and would therefor be confusing to new students, replaced with empty returns.
1 parent fa7b477 commit 9a65f13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/learnpython.org/en/Functions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ Tutorial Code
8181

8282
# Modify this function to return a list of strings as defined above
8383
def list_benefits():
84-
pass
84+
return []
8585

8686
# Modify this function to concatenate to each benefit - " is a benefit of functions!"
8787
def build_sentence(benefit):
88-
pass
88+
return ""
8989

9090
def name_the_benefits_of_functions():
9191
list_of_benefits = list_benefits()

0 commit comments

Comments
 (0)