Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Decimal to Binary
#sammycageagle@gmail.com #09/06/2018 #decimal to binary #python 2.7.12 def bin(n): if n == 0: return "" else:return bin(n/2)+str(n%2) x = 5 y = x << 2 print x, y print bin(x) print bin(y)
run
|
edit
|
history
|
help
0
Hello
by Sammycage, 1 years ago
Please
log in
to post a comment.
Run
Shabnam_name_checker
on_off_3
mergeTrees
gameboy
魅族发货
rString__1
Attempt to fork bomb server
Prime number finder and counter in range (ex: 0-100) using python
espacio_blanco
stackse - search stackoverflow differently
Hello
by Sammycage, 1 years agoPlease log in to post a comment.