Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Problem: binary
def binary(n): s = str(n % 2) if n >> 1 > 0: s += binary(n >> 1) return s print binary(9)
run
|
edit
|
history
|
help
0
rstring
PyClass2
cache in python
python power
fb_series
Demo - Test
TIC TAC TOW.py
single_digit
Parity in Python
working with numbers