Easy
A Helpful __repr__
Write
class Point with x and y and a __repr__ returning Point(x=…, y=…). Read points and print the list of them (printing a list uses repr).Input
n, then n lines 'x y'.
Output
One line.
Sample 1
Input
2 1 2 3 4
Output
[Point(x=1, y=2), Point(x=3, y=4)]
Sample 2
Input
1 0 0
Output
[Point(x=0, y=0)]
Output appears here