repl.it
@anonymous/

ProfuseLittleLouse

Python 2.7

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
def f(t):l='A+ O+ B+ AB+ A- O- B- AB-'.split();c=[9,15,12,8,153,255,204,136];i=l.index(t);print[s for s in l if c[i]&1<<l.index(s)],[s for s in l if c[l.index(s)]&1<<i]

l='A+ O+ B+ AB+ A- O- B- AB-'.split()
for i in l:f(i)