Skip to content

Instantly share code, notes, and snippets.

@stephengruppetta
Created June 22, 2023 17:15
Show Gist options
  • Save stephengruppetta/87d9b57ad5d3085d16954905a5282b93 to your computer and use it in GitHub Desktop.
Save stephengruppetta/87d9b57ad5d3085d16954905a5282b93 to your computer and use it in GitHub Desktop.
class VendingMachine:
def __init__(self):
self.items_on_sale = []
def add_items(self, items):
self.items_on_sale.extend(items)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment