bakefayat / lottery

simple project that select random from customers with different chnaces.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lottery

simple project that select random from customers with different chances powered by python.

How to run this project

To run this project, Just use steps below:

  1. Install python3, pip, virtualenv in your system.
  2. Clone the project https://github.com/bakefayat/lottery.
  3. Make virtual environment ready using commands below;
git clone https://github.com/bakefayat/lottery && cd lottery
python3 -m venv .venv  # Create virtualenv named .venv in linux (windows is different.)
source .venv/bin/activate
pip install -r requirements.txt
  1. Run project

How to change data

open customers.xlsx using excel and change data.

TODO

  • customers with different chances.
  • OOP
  • read customers and chances from excel.

About

simple project that select random from customers with different chnaces.


Languages

Language:Python 100.0%