Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def lineSum(n):
- i='6255456376'
- o=0
- for x in str(n):
- o+=int(i[int(x)])
- return o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement