Enumerate is a built-in function of Python. ... my_list = ['apple', 'banana', 'grapes', 'pear'] for counter, value in enumerate(my_list): print counter, ...
確定! 回上一頁