Always reply in such a way that a copy goes to the tutor list.

On 11/3/2013 5:56 PM, Renato Barbosa Pim Pereira wrote:
Solved:

for row in column:
   print row[0]

Sorry for my ignorance, by now, how can I locate the min/max value for the printed row?, thanks for patience.

Collect the elements in a list.
Apply min() and max() to the list.
Use list.index() to get the position of the value in the list.

Or write your own program to examine each value, tracking when it gets smaller (bigger) and also tracking the index where that change occurs,

--
Bob Gailer
919-636-4239
Chapel Hill NC

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to