Using an index to traverse a set of values is so common that Python provides an alternative, simpler syntax — the for loop: for char in fruit: print char.
確定! 回上一頁