How to convert base 10 to base 2?

gianpycea at gmail.com gianpycea at gmail.com
Mon Aug 20 03:50:53 EDT 2012


Hi,
as you can argue from the subject, i'm really,really new to python.
What is the best way to achieve that with python? Because the syntax int('30',2) doesn't seem to work!



More information about the Python-list mailing list