Skip to content

Commit 5f55e6e

Browse files
authored
Use assert instead of print
1 parent 29631e4 commit 5f55e6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

03_functions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ def comb(a, b):
88
def diff(a, b):
99
return a - b
1010

11-
print(comb(15, 4)) # 19
12-
print(diff(15, 4)) # 11
11+
assert comb(15, 4) == 19
12+
assert diff(15, 4) == 11

0 commit comments

Comments
 (0)