to_string method
Leave feedback
On this page
Returns a string representation of the rectangle.
def to_string(self):
...
Returns: str: A string representing the rectangle’s position and size.
- class
Rectangle
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.