0

How can desined reverse number?

26th Apr 2017, 7:08 PM
Miald Alila
Miald Alila - avatar
6 Respostas
+ 9
x = 123456 y = int(str(x)[::-1]) print(x, y) >>> 123456 654321
26th Apr 2017, 7:17 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 5
No problem. BTW, I see your answer thrice, maybe some connection bug?
26th Apr 2017, 7:32 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
0
how right this code with ring?
26th Apr 2017, 7:19 PM
Miald Alila
Miald Alila - avatar
0
thank you for answer
26th Apr 2017, 7:20 PM
Miald Alila
Miald Alila - avatar
0
thank you for answer
26th Apr 2017, 7:20 PM
Miald Alila
Miald Alila - avatar
0
I dont understand
26th Apr 2017, 7:40 PM
Miald Alila
Miald Alila - avatar