Create a Point class with attributes that represent the X and Y coordinates. Create a print method that prints information (X and Y) on the form ((45, 56)). code example
Example: super().__init__(pos, model) in python
def __init__(self, pos, model, agent_type):
super().__init__(pos, model)
self.pos = pos
self.type = agent_type