How to use a list in python to create an inventory for a text based adventure game.

Опубликовано: 29 Сентябрь 2024
на канале: Andrew Howard
7,585
80

This tutorial will teach you how to add to a list and print a list using subroutines. It is used to model an inventory, so you can pick up items and check if they are in the inventory as well as print them out. You are also taught how to chick if an item is not in the list/inventory.