This Python script defines two classes, Shape and Triangle, to represent shapes and calculate properties of triangles, respectively. The Shape class holds information about the color and filled status of a shape, while the Triangle class, a subclass of Shape, computes the area and perimeter of a triangle.
-
Notifications
You must be signed in to change notification settings - Fork 0
This Python script defines two classes, Shape and Triangle, to represent shapes and calculate properties of triangles, respectively. The Shape class holds information about the color and filled status of a shape, while the Triangle class, a subclass of Shape, computes the area and perimeter of a triangle.
Avvv19/Python-Script-for-Triangle-Properties-Calculation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This Python script defines two classes, Shape and Triangle, to represent shapes and calculate properties of triangles, respectively. The Shape class holds information about the color and filled status of a shape, while the Triangle class, a subclass of Shape, computes the area and perimeter of a triangle.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published