Example #1
0
            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:
                print(category)
            print('\n')
            ctgr = input("Choose category from given list: ")
            pprint(seller.get_best_sellers(ctgr))

        elif command == "5":
            print("(statistic)", "\n")
            print("Print type of product")
            print("F.e.: 'phone charger'")