From c2726afed16526f186621ade2ec42f9706e91ac3 Mon Sep 17 00:00:00 2001 From: Aaron Sawyer Date: Thu, 9 Jul 2026 12:59:09 -0400 Subject: [PATCH] Fixed minor syntax errors --- programs/print_recursively.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/print_recursively.py b/programs/print_recursively.py index 16e5c45..9920fda 100644 --- a/programs/print_recursively.py +++ b/programs/print_recursively.py @@ -10,7 +10,7 @@ def print_recursively(lst): if not lst: return - print lst[0] + print (lst [0]) print_recursively(lst[1:]) @@ -20,4 +20,4 @@ def print_recursively(lst): results = doctest.testmod() if results.failed == 0: - print "ALL TESTS PASSED" + print ("ALL TESTS PASSED") \ No newline at end of file