Calvin Spealman wrote: > # Get the first index of a value in a list > idx = 'b' from ['a', 'b', 'c'] > assert idx == 'b'
'assert idx == 1'? -- Ivan Krstic <[EMAIL PROTECTED]> | GPG: 0x147C722D _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
