From 4c1ea1452b3c043b9144f9a2c146cdcbe7e1f13b Mon Sep 17 00:00:00 2001 From: SeamusFreitag Date: Fri, 8 May 2026 23:24:33 -0700 Subject: [PATCH 1/2] Update officeHours.py Line 4: "Office hour are from 9:00 am to 9:00 pm." - changed to "Office Hours are from 9:00 am to 9:00 pm." --- officeHours.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/officeHours.py b/officeHours.py index f4878e0e..2d4daa3b 100644 --- a/officeHours.py +++ b/officeHours.py @@ -1,7 +1,7 @@ title = "Office Hour" print(title) -message = "Office hour are from 9:00 am to 9:00 pm." +message = "Office Hours are from 9:00 am to 9:00 pm." print(message) portlandTime = 8 From f09f174111eebb4f46ba33a5f38666925b03d1f3 Mon Sep 17 00:00:00 2001 From: SeamusFreitag Date: Fri, 8 May 2026 23:28:55 -0700 Subject: [PATCH 2/2] Update officeHours.py Line 1: "Office Hour" - changed to "Office Hours" Line 37: "An error has occured" - changed to "occurred" Line 65: "An error has occured" - changed to "occurred" Line 90: londontimee - changed to londontime Line 93: "An error has occurred" - changed to "occurred" --- officeHours.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/officeHours.py b/officeHours.py index 2d4daa3b..76da1385 100644 --- a/officeHours.py +++ b/officeHours.py @@ -1,4 +1,4 @@ -title = "Office Hour" +title = "Office Hours" print(title) message = "Office Hours are from 9:00 am to 9:00 pm." @@ -34,7 +34,7 @@ def portlandBranch(): elif portlandTime == 12: print("The Portland branch is closed") else: - print("An error has occured") + print("An error has occurred") def newYorkBranch(): if newYorkTime == 1: @@ -62,7 +62,7 @@ def newYorkBranch(): elif newYorkTime == 12: print("The New York branch is closed") else: - print("An error has occured") + print("An error has occurred") def londonBranch(): if londontime == 1: @@ -87,10 +87,10 @@ def londonBranch(): print("The London branch is closed") elif londontime == 11: print("The London branch is closed") - elif londontimee == 12: + elif londontime == 12: print("The London branch is closed") else: - print("An error has occured") + print("An error has occurred") portlandBranch() newYorkBranch()