O6: telemetry report and eval task set (#14)
This commit was merged in pull request #14.
This commit is contained in:
1 parent
bea07e82bb
commit
b2d72f2dc9
31 files changed
+809
-3
No files matched your search
@@ -0,0 +1,5 @@
|
||||
from pricing import total_price
|
||||
|
||||
|
||||
def checkout(items):
|
||||
return round(total_price(items) * 1.2, 2)
|
||||
@@ -0,0 +1,2 @@
|
||||
def total_price(items):
|
||||
return sum(i['price'] * i['qty'] for i in items)
|
||||
Reference in new issue
Block a user