Skip to content

Commit

Permalink
Solution
Browse files Browse the repository at this point in the history
  • Loading branch information
mykyta-mitin committed Jan 7, 2025
1 parent 378f17d commit b45df58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/cinema/bar.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
class CinemaBar:
def sell_product(self, product: str, customer: Customer) -> None:
def sell_product(self, product: str, customer: "Customer") -> None:
print(f" Cinema bar sold {product} to {customer}.")
4 changes: 2 additions & 2 deletions app/cinema/hall.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ def __init__(self, hall_number: int) -> None:
self.hall_number = hall_number

def movie_session(self, movie_name: str, customers: list[Customer], cleaning_staff: Cleaner) -> None:
print(f""{movie_name}" started in hall number {self.hall_number}.")
print(f"'{movie_name}' started in hall number {self.hall_number}.")
for customer in customers:
customer.watch_movie(movie_name)
print(f""{movie_name}" ended.")
print(f"'{movie_name}' ended.")
cleaning_staff.clean_hall(self.hall_number)

0 comments on commit b45df58

Please sign in to comment.