a guest Oct 10th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- def r(a):
- if len(str(a))!= 1:
- return a % 10 + (r((a - a % 10) // 10))
- return a
RAW Paste Data