Skip to content

Instantly share code, notes, and snippets.

View yonbergman's full-sized avatar

Yonatan Bergman yonbergman

View GitHub Profile
# SCIL 7 - DSL Exercise in python
# done by @yonbergman and @avihut
# Usage:
# c = Cart()
# c.items()
# => [<foo(100)>,<bar(50)>]
# c.run_rules()
# c.items()
# => WIN