Re: [sage-support] using a base other then base 10.

2012-05-21 Thread Eric Kangas
When dealing with base 36 I realized there is no letter available to use in for loops. Here is the code that I have right now. a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,t,u,v,w,x,y,z = var('a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,t,u,v,w,x,y,z') pie = pi.n(1000) pie36 = list(pie.str(base=36))

Re: [sage-support] using a base other then base 10.

2012-05-21 Thread John H Palmieri
On Monday, May 21, 2012 9:49:08 AM UTC-7, Eric Kangas wrote: When dealing with base 36 I realized there is no letter available to use in for loops. Here is the code that I have right now. a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,t,u,v,w,x,y,z =

Re: [sage-support] using a base other then base 10.

2012-05-21 Thread Eric Kangas
thanks wasn't even thinking about a dictionary. On Monday, May 21, 2012 10:05:26 AM UTC-7, John H Palmieri wrote: On Monday, May 21, 2012 9:49:08 AM UTC-7, Eric Kangas wrote: When dealing with base 36 I realized there is no letter available to use in for loops. Here is the code that I

Re: [sage-support] using a base other then base 10.

2012-05-18 Thread D. S. McNeil
The following: sage: z = pi.n(100) sage: z.str(base=4) '3.0210033310202011220300203103010301212022023200' should get you started. Doug -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to