This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. foo | |
2. bar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gist - https://gist.github.com/jamad/a081f2e9cc0c23dcfcadcfde704984b6 | |
# executable - | |
# posti.fi/en/private/letters-and-mail/send-a-letter-or-postcard/international-letters-and-cards/economy-letter-abroad | |
''' | |
a=Maximum weight | |
b=Europe Priority | |
c=Europe Economy # commonly used | |
d=Other countries Priority | |
e=Other countries Economy # commonly used |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def is_check(B): | |
def f(r,c,u,v): | |
T=[] | |
for i in range(1,8): | |
p=(r+i*u,c+i*v) | |
if D.get(p,' ')in'♛♝♞♜♟':break | |
T+=[p] | |
return T | |
D={} | |
for r in range(8): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abc,def,ghi | |
00,11,22 | |
33,44,55 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foo,var | |
1,2 | |
3,4 | |
5,6 |