I have looked at a bunch of similar questions, but what I need is a simple way to calculate a list (IN PYTHON) like:
input: [(2,3),(4,1)]