__init__ constructor
Leave feedback
On this page
Initializes a new instance of the Point class.
def __init__(self, x, y):
...
| Parameter | Type | Description |
|---|---|---|
| x | int |
The x-coordinate of the point. |
| y | int |
The y-coordinate of the point. |
- class
Point
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.