Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
Bad_Programist
Oct 24th, 2018
48
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.12 KB
| None
|
0
0
raw
download
clone
embed
print
report
a
=
int
(
input
(
)
)
i
=
int
(
input
(
)
)
c
=
''
while
a
>
i:
c +
=
str
(
a % i
)
a
=
a // i
c +
=
'1'
print
(
c
[
::-
1
]
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C# | 31 sec ago | 0.67 KB
Untitled
C# | 14 min ago | 0.42 KB
Untitled
C# | 19 min ago | 0.62 KB
Untitled
Java | 19 min ago | 1.22 KB
Untitled
Java | 19 min ago | 1.36 KB
Untitled
Java | 20 min ago | 1.28 KB
Untitled
Java | 20 min ago | 1.17 KB
Untitled
Java | 20 min ago | 1.15 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!