返回 DeepSeek-Reasonix
1 def order_total(items):
2 """Sum the order. Each item is {"price": cents, "qty": n}."""
3 return sum(item["price"] for item in items)
4
4 lines PYTHON