Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions officeHours.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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()
Expand Down