Shorten 3-1

This commit is contained in:
Lynn Ochs 2020-12-04 20:33:39 +01:00
parent 12d7b5c639
commit 43deb91a60

View File

@ -1 +1 @@
print(sum('#'==list(open(0))[i][(i*3)%31] for i in range(323))) print(sum('.'>d[i*3%31]for i,d in enumerate(open(0))))