5 lines
90 B
Python
5 lines
90 B
Python
from cart import checkout
|
|
|
|
assert checkout([{'price': 10, 'qty': 2}]) == 24.0
|
|
print('ok')
|