Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
filepath = "input.txt"
def max_bounds(pts):
max_x = 0
max_y = 0
for x, y in pts:
if x > max_x: max_x = x
if y > max_y: max_y = y