seed: curriculum content

This commit is contained in:
2026-05-07 14:32:44 +00:00
parent 9258534803
commit ec76f4f56b
100 changed files with 2846 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
def format_receipt(price, qty):
"""Return a 3-line formatted receipt as a single string.
Format (note the dollar sign and 2-decimal places on prices):
Item price: $<price>
Quantity: <qty>
Total: $<price * qty>
format_receipt(9.99, 3) returns:
"Item price: $9.99\nQuantity: 3\nTotal: $29.97"
"""
pass