From a08d0f505805b29ad54a66ddc46dd23568c25432 Mon Sep 17 00:00:00 2001 From: Arsen Markotskyi Date: Sun, 21 Jul 2024 20:43:24 +0300 Subject: [PATCH] "sol" --- app/main.py | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/app/main.py b/app/main.py index 49e271b9..9223d902 100644 --- a/app/main.py +++ b/app/main.py @@ -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: