Skip to content

Commit

Permalink
"sol"
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenmarkotskyi committed Jul 21, 2024
1 parent 56faf81 commit a08d0f5
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,16 @@ def shop_trip() -> None:

fuel_price = config["FUEL_PRICE"]

for config_customer in config["customers"]:
customers = [
Customer(
config_customer["name"],
config_customer["product_cart"],
config_customer["location"],
config_customer["money"],
Car(**config_customer["car"])
)
for config_customer in config["customers"]
]
customers = [
Customer(
config_customer["name"],
config_customer["product_cart"],
config_customer["location"],
config_customer["money"],
Car(**config_customer["car"])
)
for config_customer in config["customers"]
]

shops = [Shop(**config_shop) for config_shop in config["shops"]]
for customer in customers:
Expand Down

0 comments on commit a08d0f5

Please sign in to comment.