Here's a collection of several simple class definitions and example of how to interact with them.
Clone this repo, cd
into the directory and execute each file with python3
on the command line to see it's output:
git clone https://github.com/WDI-SEA/python-class-examples
cd python-class-examples
python3 coffee.py
python3 bank.py
python3 point.py
All content is licensed under a CCBYNCSA 4.0 license. All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact legal@ga.co.