Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Is there anyway someone could tell me what I’m doing wrong? e this project. It i

ID: 3708057 • Letter: I

Question

Is there anyway someone could tell me what I’m doing wrong? e this project. It is on an unpaid trial server and has no network access. Expect very bad performance fo. LogQFindSettings Insert Cell Kernel Help ings 8-IFSdesignerAndExercises.ipynbX Share CPU 0%) Memory: 89MB | Trusted | Python 3 (Anaco save?TimeTravel Close and halt he verices of he rectange 3.(1 point) Create a class Rectangle which inherits from Polygon and creates the rectangle from two points (p.q) and (r, s) (Hint should be (AC). (A D), B.D) BC) where A min(p, r). ? max corresponding to (a, b) and (c,d) (pr), C min (g, s), and D-max(g, s) ) verify by constructing the rectangle class Polygon(object): less than a minute a 0 03 secon def_ int (self, n): self.number of sides n def print_num sides (self): print( There are str(self.number_of_sides) + sides.) File "kipy thon-input-7-fbc425bc6b9f>", 1ine 2 def int (self, n): SyntaxError: invalid syntax

Explanation / Answer

Solution:

The problem is you are missing a space after def

it should be

def _int_(self, n):

and it will work fine.

I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote