repl.it
@anonymous/

DoubleRoastedLouse

Python 2.7

No description

fork
loading
Files
  • main.py
main.py
1
2
3
f=lambda x:sum(int(x)%eval(x[:i]+'+'+x[i:])for i in range(len(x)))

print f('1009')