Ad

managed to shave off another byte :) can someone else do better?

Code
Diff
  • def f(s,p):s.c='No'if(p=='')+sum(map(ord,p.lower()))%324else'Yes'
    KumiteFoo=type('',(),{"__init__":f,"solution":lambda s:s.c})
    • def f(s,p):s.c='No'if sum(map(ord,p.lower()))%324or p==''else'Yes'
    • def f(s,p):s.c='No'if(p=='')+sum(map(ord,p.lower()))%324else'Yes'
    • KumiteFoo=type('',(),{"__init__":f,"solution":lambda s:s.c})