Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
mohammad-hadi-babalu
Jan 10th, 2016
84
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
✅ MAKE $12OO IN 10 MIN K
JavaScript | 1 sec ago | 0.06 KB
MAKE $900 INSTANTLY V
JavaScript | 35 sec ago | 0.06 KB
Make 1500$ in 20 MIN [Method] L
JavaScript | 37 sec ago | 0.06 KB
FREE BTC GUIDE U
JavaScript | 1 min ago | 0.06 KB
Make $200 in 15 minutes M
JavaScript | 1 min ago | 0.06 KB
MAKE $900 INSTANTLY F
JavaScript | 2 min ago | 0.06 KB
Make 1500$ in 20 MIN [Method] L
JavaScript | 2 min ago | 0.06 KB
FREE BTC GUIDE F
JavaScript | 2 min ago | 0.06 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!