Skip to Content
Introduction to Classes
Class Basics

First things first: let’s create a class to work with.



Create a class, Triangle. Its __init__() method should take self, angle1, angle2, and angle3 as arguments. Make sure to set these appropriately in the body of the __init__() method (see the Hint for more).

Folder Icon

Take this course for free

Already have an account?