"questions?" wrote: >I want to do list index function. >>>> y=['1','2','3','4'] >>>> y > ['1', '2', '3', '4'] >>>> y.index['2']
make that:
>>> y.index('2')
</F>
--
http://mail.python.org/mailman/listinfo/python-list
"questions?" wrote: >I want to do list index function. >>>> y=['1','2','3','4'] >>>> y > ['1', '2', '3', '4'] >>>> y.index['2']
make that:
>>> y.index('2')
</F>
--
http://mail.python.org/mailman/listinfo/python-list