Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arbiminanda/supermarket-simulation


https://github.com/arbiminanda/supermarket-simulation

python

Last synced: 20 days ago
JSON representation

Awesome Lists containing this project

README

        

# Supermarket Simulation

This is simple python script for simulation of a supermarket. The functionality are to display greetings and ask user input whether to:

1. Show promotional items
2. Show all items
3. Buy items (could be 1 item or more), display the item details and total price to the console

# Project Structure

```
data.py contains data items initialization
functions.py contains all functions that needs in this script
main.py main script
messages.py contains only functions to print messages
```

# Run Script

- Make sure you has install python in your devices, I use Python 3.9.6 version
- Open terminal/cmd, go to the project directory
- Run this command:

```
python3 main.py
```