🎯 Exercise 4
Objective: Practice using Formatter to convert between data formats, and Code Runner to write custom logic when built-in tools are not sufficient.
[
{"name": "Laptop", "price": 1200, "quantity": 5},
{"name": "Mouse", "price": 25, "quantity": 50},
{"name": "Keyboard", "price": 75, "quantity": 30}
]CSV Format:
name,price,quantity
Laptop,1200,5
Mouse,25,50
Keyboard,75,30
Total Inventory Value: 9500Last updated
Was this helpful?