Python Tutorial: Shopkeeper App

In this tutorial we will show you how to capture user input and show appropriate response in python application. This is a simple shopkeep app made in python. The idea is to create a list of items to display, the user will purchase an item and then to show how many items are left.

Learning outcomes:

  1. Using Global and Local variables in python
  2. Using user input capture
  3. Substracting global variables and display the result.

Full code for this application is on the next page.