Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A=int(input("4-значное число:"))
- B=(A%10)*1000+(A//10%10)*100+(A//100%10)*10+(A//1000)
- X=A*10000+B
- print(X)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement