Op maandag 3 februari 2014 20:50:04 UTC+1 schreef Asaf Las:
> On Monday, February 3, 2014 9:37:36 PM UTC+2, Jean Dupont wrote:
> > Op maandag 3 februari 2014 16:34:18 UTC+1 schreef Asaf Las:
> >
> > Of course you don't have to, but I'm curious and learn well by examples
> > :-(
>
> Hi Jean
>
> Do
On Tuesday, February 4, 2014 3:20:06 AM UTC+5:30, Terry Reedy wrote:
> name = lambda xxx is poor style because it produces a function object
> lacking a proper name. Reusing the function name as a local is also
> confusing. The above is equivalent to
> def m(k, n): return 1 if k & n else 0
Yeah
On Sun, 02 Feb 2014 09:44:05 -0800, Jean Dupont wrote:
> I'm looking for an efficient method to produce rows of tables like this:
>
> for base 2 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 .
> .
> .
> 1 1 1 1
>
> for base 3 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 2 0 0 0 0 1 0 0 0 0 0 1 1 0
> 0 0 0 1 2 .
On 2/3/2014 10:05 AM, Jean Dupont wrote:
Op maandag 3 februari 2014 02:56:43 UTC+1 schreef Asaf Las:
On Sunday, February 2, 2014 10:51:15 PM UTC+2, Jean Dupont wrote:
Op zondag 2 februari 2014 19:10:32 UTC+1 schreef Peter Otten:
I'm looking for an efficient method to produce rows of tables lik
On Monday, February 3, 2014 9:37:36 PM UTC+2, Jean Dupont wrote:
> Op maandag 3 februari 2014 16:34:18 UTC+1 schreef Asaf Las:
>
> Of course you don't have to, but I'm curious and learn well by examples
>
> :-(
And making this design generic is really a good example indeed.
--
https://mail.pyt
On Monday, February 3, 2014 9:37:36 PM UTC+2, Jean Dupont wrote:
> Op maandag 3 februari 2014 16:34:18 UTC+1 schreef Asaf Las:
>
> Of course you don't have to, but I'm curious and learn well by examples
> :-(
Hi Jean
Don't get me wrong i did not mean to be rude (was joking) - i
think if you wi
Op maandag 3 februari 2014 16:34:18 UTC+1 schreef Asaf Las:
> On Monday, February 3, 2014 5:05:40 PM UTC+2, Jean Dupont wrote:
> > Op maandag 3 februari 2014 02:56:43 UTC+1 schreef Asaf Las:
> >
> > > On Sunday, February 2, 2014 10:51:15 PM UTC+2, Jean Dupont wrote:
> > > > Op zondag 2 februari 20
On Monday, February 3, 2014 5:05:40 PM UTC+2, Jean Dupont wrote:
> Op maandag 3 februari 2014 02:56:43 UTC+1 schreef Asaf Las:
>
> > On Sunday, February 2, 2014 10:51:15 PM UTC+2, Jean Dupont wrote:
> > > Op zondag 2 februari 2014 19:10:32 UTC+1 schreef Peter Otten:
> > > I'm looking for an effici
Op zondag 2 februari 2014 19:07:38 UTC+1 schreef Roy Smith:
> In article <515e582f-ed17-4d4e-9872-f07f1fda6...@googlegroups.com>,
> Jean Dupont wrote:
>
> > I'm looking for an efficient method to produce rows of tables like this:
> >
> > for base 2
> > 0 0 0 0
> > 0 0 0 1
> > 0 0 1 0
> > 0 0 1 1
Op maandag 3 februari 2014 02:56:43 UTC+1 schreef Asaf Las:
> On Sunday, February 2, 2014 10:51:15 PM UTC+2, Jean Dupont wrote:
> > Op zondag 2 februari 2014 19:10:32 UTC+1 schreef Peter Otten:
> >
> > I'm looking for an efficient method to produce rows of tables like this:
> > jean
> you can als
On Sunday, February 2, 2014 10:51:15 PM UTC+2, Jean Dupont wrote:
> Op zondag 2 februari 2014 19:10:32 UTC+1 schreef Peter Otten:
>
> I'm looking for an efficient method to produce rows of tables like this:
> jean
you can also try to make below universal for all needed bases:
m = lambda m, n:
Op zondag 2 februari 2014 19:10:32 UTC+1 schreef Peter Otten:
> Jean Dupont wrote:
>
> > I'm looking for an efficient method to produce rows of tables like this:
> >
> > for base 2
> > 0 0 0 0
> > 0 0 0 1
> > 0 0 1 0
> > 0 0 1 1
> > 0 1 0 0
> > .
> > .
> > .
> > 1 1 1 1
> >
> > for base 3
> > 0 0
Jean Dupont wrote:
> I'm looking for an efficient method to produce rows of tables like this:
>
> for base 2
> 0 0 0 0
> 0 0 0 1
> 0 0 1 0
> 0 0 1 1
> 0 1 0 0
> .
> .
> .
> 1 1 1 1
>
> for base 3
> 0 0 0 0 0 0
> 0 0 0 0 0 1
> 0 0 0 0 0 2
> 0 0 0 0 1 0
> 0 0 0 0 1 1
> 0 0 0 0 1 2
> .
> .
> 2 2 2
In article <515e582f-ed17-4d4e-9872-f07f1fda6...@googlegroups.com>,
Jean Dupont wrote:
> I'm looking for an efficient method to produce rows of tables like this:
>
> for base 2
> 0 0 0 0
> 0 0 0 1
> 0 0 1 0
> 0 0 1 1
> 0 1 0 0
> .
> .
> .
> 1 1 1 1
>
> for base 3
> 0 0 0 0 0 0
> 0 0 0 0 0 1
>
I'm looking for an efficient method to produce rows of tables like this:
for base 2
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
.
.
.
1 1 1 1
for base 3
0 0 0 0 0 0
0 0 0 0 0 1
0 0 0 0 0 2
0 0 0 0 1 0
0 0 0 0 1 1
0 0 0 0 1 2
.
.
2 2 2 2 2 2
As you can see the rows are always twice the size of the ba
15 matches
Mail list logo