From 4e4078924584c283ee83b3101555fefee700e439 Mon Sep 17 00:00:00 2001 From: kenn Date: Thu, 24 Sep 2026 09:56:38 -0500 Subject: [PATCH] Today's files from your teacher --- boxes.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/boxes.py b/boxes.py index 8ed5aee..ad8bf25 100644 --- a/boxes.py +++ b/boxes.py @@ -1,32 +1,38 @@ # BOXES # # Do NOT run this yet! -# First, guess what each program prints. Write your guesses on your paper. +# Read each program. Guess what it prints. +# Type your guess after "My guess:" (it is a comment, so Python ignores it). # Then run it and check. print("--- Program 1 ---") pet = "cat" print(pet) +# My guess: print("--- Program 2 ---") pet = "cat" print("pet") +# My guess: print("--- Program 3 ---") pet = "cat" pet = "dog" print(pet) +# My guess: print("--- Program 4 ---") x = 5 x = 7 print(x) +# My guess: print("--- Program 5 ---") name = "Sam" print("Hi, Sam " + name) +# My guess: