from dataclasses import dataclass @dataclass class Coordinate: x: int y: int