First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 8 years ago

kcrisman gravatar image

Interestingly, this hasn't been properly asked sometimes. Here is an example:

sage: a = 15
sage: a.binary()
'1111'