Advertisement
Matvey_Kozvonin

dz 11

Jan 21st, 2024
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. A=int(input("4-значное число:"))
  2. B=(A%10)*1000+(A//10%10)*100+(A//100%10)*10+(A//1000)
  3. X=A*10000+B
  4. print(X)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement