Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
25_random_prac
Riju21
Mar 29th, 2019
42
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
import
random
n1
=
100
my_set
=
[
]
for
i
in
range
(
1
,
n1 +
1
)
:
my_set.
append
(
i
)
for
i
in
my_set:
result
=
"{0:b}"
.
format
(
i
)
print
(
'actual number: '
,
i
,
' , binary:'
,
result
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 8 min ago | 0.39 KB
2024-05-19_stats.json
JSON | 23 min ago | 3.75 KB
2024-05-19_stats.json
JSON | 25 min ago | 3.74 KB
MT backup before upgrade 5/19/24
CSS | 26 min ago | 2.78 KB
2024-05-19_stats.json
JSON | 26 min ago | 3.73 KB
ee
Lua | 30 min ago | 2.82 KB
СПРИНТ № 7 | Односвязный список | Урок 7: Раб...
C++ | 42 min ago | 0.36 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!