Skip to content

Commit 516ef5e

Browse files
authored
Change "print the sum" to "returns ..." in "f2"
The print statements starting on line 17 will print out "None" if the function "f2" is written as described in the instructions. This change will make the comments next to the print statements accurate.
1 parent 5f0a4c2 commit 516ef5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/11_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
print(f1(1, 2))
1010

11-
# Write a function f2 that takes any number of integer arguments and prints the
11+
# Write a function f2 that takes any number of integer arguments and returns the
1212
# sum.
1313
# Note: Google for "python arbitrary arguments" and look for "*args"
1414

0 commit comments

Comments
 (0)