Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
mohammad-hadi-babalu
Jan 10th, 2016
71
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
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 6 min ago | 0.39 KB
stfo comp dont use reach
Lua | 10 min ago | 8.99 KB
very good minimax pomoci '.' a kore...
Python | 25 min ago | 2.32 KB
ДЗ Локальные максимумы
C# | 47 min ago | 1.28 KB
Untitled
Rust | 1 hour ago | 4.74 KB
Untitled
C++ | 1 hour ago | 5.09 KB
multi_queue
Python | 1 hour ago | 0.54 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 1 hour ago | 0.38 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!