Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- b=0
- a=input()
- for i in a:
- if 47<ord(i)<58:
- b+=int(i)
- print(b)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement