Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x=int(input())
- a=x//10000
- b=x//1000%10
- c=x//100%10
- d=x//10%10
- e=x%10
- print(a,c,b,d,e,sep='')
- print(a+b+c+d+e)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement