Skip to content

Khasoa/python-oop1-lab

 
 

Repository files navigation

Bookstore Python Application

Overview

This Python application models a bookstore with Book and Coffee objects. Users can create these objects, interact with them, and see how classes, attributes, properties, and methods work.

Features

  • Book: title, page_count with turn_page() method. Validates page_count is an integer.

  • Coffee: size, price with tip() method. Validates size is Small, Medium, or Large. Tipping increases price by 1.

##Prerequisites

  • Python 3.x installed on your machine

  • A terminal or code editor to run Python scripts

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%