Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Oct 19th, 2018
79
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
In [6]: a = bin(8)[2:] # 0b entfernen
In [7]: len(a)
Out[7]: 4
In [10]: '0' * (24-len(a)) + a
Out[10]: '000000000000000000001000'
In [11]: int(_, 2)
Out[11]: 8
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 30 min ago | 0.39 KB
Comparison of membership check speeds in list...
Python | 32 min ago | 2.29 KB
Untitled
C++ | 56 min ago | 2.58 KB
GFCHGFDHGFHG
PHP | 1 hour ago | 1.59 KB
Conversor MP4 para MP3 e Vice Versa (Necessit...
Python | 2 hours ago | 6.78 KB
U_Proses.PAS
TypeScript | 2 hours ago | 5.85 KB
fifth_task
C++ | 2 hours ago | 14.03 KB
P_UTSS2.PAS
TypeScript | 2 hours ago | 4.89 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!