Calculate Triangle Perimeter

# Introduction In this lab, you need to create a `Triangle` class with attributes `x`, `y`, and `z`, an `__init__()` method to initialize the attributes, and a `get_perimeter()` method to compute and return the perimeter of the triangle using these attributes, and then create an object of the `Triangle` class with three integer inputs, call the `get_perimeter()` method using the object to compute the perimeter, and finally print the perimeter of the triangle.

|
60 : 00

Click the virtual machine below to start practicing