aoc2020/06/1.py
2020-12-06 11:51:37 +00:00

4 lines
125 B
Python

groups = open("input", "r").read().split("\n\n")
counts = [len(set(g.replace("\n", ""))) for g in groups]
print(sum(counts))