You are on page 1of 1

The Four Pillars of OOP in Python 3 for Beginners

EXERCISE - ATTRIBUTES AND METHODS

Write an object oriented program to create a precious stone.


Not more than 5 precious stones can be held in possession at a
given point of time. If there are more than 5 precious stones,
delete the first stone and store the new one.

Created by Febin George

You might also like