Personal tools

Python Game/01/Floes

From Eth0Wiki

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