Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arbiminanda/supermarket-simulation
https://github.com/arbiminanda/supermarket-simulation
python
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/arbiminanda/supermarket-simulation
- Owner: arbiminanda
- Created: 2023-03-30T08:08:59.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-01T05:07:28.000Z (almost 2 years ago)
- Last Synced: 2024-11-05T21:35:27.481Z (2 months ago)
- Topics: python
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```