print(seller) print() command = input("Choose command №: ") if command == "stop": break elif command == "1": print("(best products)", "\n") print("Categories:\n") for category in categories: print(category) print('\n') ctgr = input("Choose category from given list:") for prod in seller.get_best_products(ctgr): print(prod) elif command == "2": print("(demand)", "\n") pprint(seller.find_demand()) elif command == "3": print("(trend)", "\n") for product in seller.get_trend(): print(product) elif command == "4": print("(sellers)", "\n") print("Categories:\n") for category in categories: