Skip to content

Commit cf3e9bf

Browse files
Merge pull request #31 from Aaro2745/master
Fixed minor syntax errors
2 parents 4224b87 + c2726af commit cf3e9bf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

programs/print_recursively.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def print_recursively(lst):
1010
if not lst:
1111
return
1212

13-
print lst[0]
13+
print (lst [0])
1414

1515
print_recursively(lst[1:])
1616

@@ -20,4 +20,4 @@ def print_recursively(lst):
2020
results = doctest.testmod()
2121

2222
if results.failed == 0:
23-
print "ALL TESTS PASSED"
23+
print ("ALL TESTS PASSED")

0 commit comments

Comments
 (0)