ok thanks did not know about that at all. So I spend an hour on figuring out 10 lines of code to do the same thing. figures lol.
On Wednesday, August 22, 2012 8:32:36 AM UTC-7, David Joyner wrote: > > On Wed, Aug 22, 2012 at 11:27 AM, Eric Kangas > <[email protected]<javascript:>> > wrote: > > Hi, > > > > I am wondering if there is a boolean to binary converter function in > sage? > > I'm not sure exactly what you mean but isn't that already built into > Python? > >>> int(False) > 0 > > > If not. I have created a sage notebook that can convert boolean (true, > > false) to binary(1,0). As for creating the actual code to be submitted > to > > sage for the next version do I have to anything different to the code I > have > > in the notebook? Where do I send it for submission? > > > > Eric > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "sage-support" group. > > To post to this group, send email to > > [email protected]<javascript:>. > > > To unsubscribe from this group, send email to > > [email protected] <javascript:>. > > Visit this group at http://groups.google.com/group/sage-support?hl=en. > > > > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en.
