using shapes module in python

from shapes import Shape
from shapes import Rectangle
 
s1 = Shape(2,4)
print(s1)
r1 = Rectangle(4,8,3,5)
print(r1)

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.