Nov-21-2017, 11:35 AM
(Nov-21-2017, 11:11 AM)heiner55 Wrote: You could use index():
https://www.tutorialspoint.com/python/list_index.htm
If not, you need two for-loops.
Why do I need two for loops?
If I look at the code it says first that bob successfully matches. Then the "name" and the "lookup" are both changed to "bill" but this time the value for match is not increased by 1.?