Skip to content

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

Avvv19/Python-Script-for-Triangle-Properties-Calculation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Python-Script-for-Triangle-Properties-Calculation

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.

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

No packages published

Languages