From 1e5cb49c2fdfeb58d24041aac569b708e63bd869 Mon Sep 17 00:00:00 2001 From: Bill Buchanan Date: Thu, 15 Jan 2026 17:24:40 +0000 Subject: [PATCH] Fix print statement syntax for Python 3 --- unit01_cipher_fundamentals/src/d_02.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unit01_cipher_fundamentals/src/d_02.py b/unit01_cipher_fundamentals/src/d_02.py index 810320d..351b543 100644 --- a/unit01_cipher_fundamentals/src/d_02.py +++ b/unit01_cipher_fundamentals/src/d_02.py @@ -18,4 +18,5 @@ def sieve_for_primes_to(n): return [2] + [i*2+1 for i, v in enumerate(sieve) if v and i>0] -print sieve_for_primes_to(test) +print (sieve_for_primes_to(test)) +