diff --git a/officeHours.py b/officeHours.py index f4878e0e..76da1385 100644 --- a/officeHours.py +++ b/officeHours.py @@ -1,7 +1,7 @@ -title = "Office Hour" +title = "Office Hours" 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 @@ -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()