Question: ples solve this with a screenshot output of your program python 1 - Write a Python class named Student with two attributes: student id, student

ples solve this with a screenshot output of your program
python
ples solve this with a screenshot output of your program python 1

1 - Write a Python class named Student with two attributes: student id, student name. Add a new attribute: student_class. Create a function to display all attributes and their values in the student class. 2- Write a Python class named Rectangle constructed from length and width and a method that will compute the area of a rectangle. 3 - Write a Python class named Circle constructed from a radius and two methods that will compute the area and the perimeter of a circle. 4 - Follow the steps: a) Create a class. Triangle. Its init _ 0 method should take self, anglel, angle2, and angle 3 as arguments. Make sure to set these appropriately in the body of the init Omethod. b) Create a variable named number of sides and set it equal to 3 . c) Create a method named check angles. The sum of a triangle's three angles is It sbould retum True if the sum of self.angle1, self.angle2. and self angle3 is equal 180, and False otherwise. d) Crate a variable named my triangle and set it cqual to a new instance of your Triangle class. Pass it three angles that sum to 180(e.g,90,30,60), c) Print out my triangle number of sides and print out my triangle check angles()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!