Skip to content

Commit caf6e74

Browse files
committed
Remove unnecessary call to print
Thanks 杜小航!
1 parent aad980a commit caf6e74

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

programs/function_varargs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ def total(a=5, *numbers, **phonebook):
99
for first_part, second_part in phonebook.items():
1010
print(first_part,second_part)
1111

12-
print(total(10,1,2,3,Jack=1123,John=2231,Inge=1560))
12+
total(10,1,2,3,Jack=1123,John=2231,Inge=1560)

programs/function_varargs.txt

-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ single_item 3
66
Inge 1560
77
John 2231
88
Jack 1123
9-
None

0 commit comments

Comments
 (0)