Personal tools

Python Game/01/Floes

From Eth0Wiki

Revision as of 08:38, 10 July 2008 by Maze (talk | contribs) (New page: def run(a): return 0==sum(sum(divmod(int(y)*(x%2+1),10)) for x,y in enumerate(a[::-1]))%10)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
def run(a):
  return 0==sum(sum(divmod(int(y)*(x%2+1),10))
               for
               x,y
               in
               enumerate(a[::-1]))%10