Untitled

mail@pastecode.io avatar
unknown
python
6 days ago
267 B
3
Indexable
Never
class ProductRecommendations:
    pass


recommendations = ProductRecommendations()
recommendations.add_visit("product_1")
recommendations.add_visit("product_2")
recommendations.add_visit("product_1")
recommendations.get_recommendation()  # should return "product_1"
Leave a Comment