paper = [(3, 7), (15, 7), (5, 2)] 

answer = set()

for x,y in paper:
    for i in range(x,x+10):
        for j in range(y,y+10):
            answer.add((i,j))

print(len(answer))

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: