Print(text) w/ rect a class

Doing the freecodecamp Scientific Computing with Python Polygon Area Calculator project. The sample test code has a Print(rect) statement where rect has been declared a class. The program tests expect a text output, but this prints ‘<shape_calculator. Rectangle object at hex-code>. I don’t know how to make that print statement work. Any thoughts?

Its hard to say without see your code.
What have you done?

I have made some properties and methods for the class Rectangle. Some of them return text that can be printed. If rect is instantiated as a Rectangle, print(rect. get_description) prints the returned text. But for print(rect) I get an object reference. I can’t see how I can change the native print function on an object to print some text.