Shorten 3-1

master
Valentin Ochs 3 years ago
parent 12d7b5c639
commit 43deb91a60

@ -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))))

Loading…
Cancel
Save