Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
mohammad-hadi-babalu
Jan 10th, 2016
72
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
def
tr
(
a
)
:
b
=
0
while
a
!=
0
:
a
=
a//
10
b
=
b+
1
return
b
n
=
int
(
input
(
)
)
b
=
tr
(
n
)
a
=
b*
[
0
]
for
i
in
range
(
b
)
:
a
[
i
]
=
n//
10
**i%
10
a
=
a
[
1
:
]
+a
[
:
1
]
c
=
0
for
i
in
range
(
b
)
:
c
=
c+a
[
i
]
*
10
**i
print
(
c
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
Roe2js :: Create View Frame
JavaScript | 17 min ago | 1.99 KB
Full test
C | 26 min ago | 6.10 KB
Untitled
Python | 30 min ago | 0.74 KB
Schema markup for collections
JSON | 36 min ago | 1.31 KB
Button test
C | 49 min ago | 5.45 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 1 hour ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
*args
Python | 1 hour ago | 0.34 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!