On Mon, Jul 4, 2011 at 12:23 PM, wrote:
> I still can't see my mistake Kenneth.
>
> May I just point out that, I am quite unhappy with Venk's choice of word.
>
> Should there be a mistake in what I wrote, there surely wouldn't be an
> intention to misguide.
>
> Kindly point out the mistake pleas
On Mon, Jul 4, 2011 at 12:23 PM, wrote:
> I still can't see my mistake Kenneth.
>
> May I just point out that, I am quite unhappy with Venk's choice of word.
>
I would have apologized if you had tried the code that you had written or
atleast mentioned in the email
that 'i havent tried, but somet
On Mon, Jul 4, 2011 at 12:01 PM, Noufal Ibrahim wrote:
> Asif Jamadar writes:
>
> > Suppose I have list of tuples
> >
> > data = [
> > (10, 25, 18, 17, 10, 12, 26, 5),
> > ]
> >
> > for value in data:
> > if data[value]>5:
> > print " greater"
> > else:
> >
On Mon, Jul 4, 2011 at 12:47 PM, Anand Balachandran Pillai <
abpil...@gmail.com> wrote:
> >>> data=[(10,25, 18, 17, 10, 12, 26, 5)]
>
> >>> for value in zip(*data):
> ... if (value[0] > 5): print 'Greater'
> ... else: print 'Lesser'
>
Right. I wrote this and then didnt send as the OP
Venkatraman,
You sound quite rude and arrogant.
This is a public forum and you should manage your choice of words.
My error was a typo and I wouldn't have pushed what I haven't tried out.
What I didn't put was the index of the tuple in the list and that shouldn't
call for my head.
You sho
Venkatraman S writes:
[...]
> Right. I wrote this and then didnt send as the OP sounds like a n00b.
n00b (especially with the leet speak) is a tad pejorative. I think you
should not use the word here.
> Btw, i got a Q: why doesnt 'any' work in this case? Like...
> for tup in data:
> if an
delegb...@dudupay.com writes:
> Venkatraman,
>
> You sound quite rude and arrogant.
Maybe but these *are* public lists and you'll find all sorts of people
here.
Venkat's mail was to the point but lacked sugar coating and (in poor
taste) contained an accusation.
I think you should just let it
On Mon, Jul 4, 2011 at 1:01 PM, Noufal Ibrahim wrote:
> > Right. I wrote this and then didnt send as the OP sounds like a n00b.
>
>
> n00b (especially with the leet speak) is a tad pejorative. I think you
> should not use the word here.
>
I apologize captain! :)
_
> for i in data[0]: # Iterate over elements of the tuple
> if i > 5:
> print "greater"
> else:
> print "lesser"
>
> `value` in your code does not mean the index, it's the actual element
> itself.
It is unsaid rule that variables i, j and
On Mon, Jul 4, 2011 at 12:53 PM, wrote:
> You sound quite rude and arrogant.
>
> This is a public forum and you should manage your choice of words.
>
> My error was a typo and I wouldn't have pushed what I haven't tried out.
>
> What I didn't put was the index of the tuple in the list and that sh
It's all good gentlemen.
I have learnt a great deal here and won't have a thing like this slow me down.
Sorry about the typo, I would pay more attention next time.
That said, thanks for your respective inputs.
It's morning here in Nigeria, so, good morning or good afternoon or good night.
On Mon, Jul 04, 2011 at 07:48:50PM +0200, Georg Brandl wrote:
> On behalf of the Python development team, I am pleased to announce the
> second release candidate of Python 3.2.1.
>
> Python 3.2.1 will the first bugfix release for Python 3.2, fixing over 120
> bugs and regressions in Python 3.2.
>
12 matches
Mail list logo