ComputerCraft inventory scripting
Learn to access and display ComputerCraft peripheral inventory contents using `peripheral.wrap()`, `chest.list()`, and `textutils.serialize()` to print the results.
- Use `peripheral.wrap("side")` to access a peripheral (like a chest) attached to the computer, specifying the side it's on (e.g., "top", "left").
- The `chest.list()` function returns a table containing the inventory items of the wrapped peripheral.
- `textutils.serialize(chest.list())` can be used within a `print()` function to display the contents of the inventory table in a readable format.


