Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = int(input())
- sum = 0
- for i in range(6):
- sum = x%10
- x//=10
- print(sum)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement