for
In [1]: A = [['apple', 1],['banana', 2],['orange', 3],['grape', 4]]
In [2]: for x in A:
...: print(x)
...:
['apple', 1]
['banana', 2]
['orange', 3]
['grape', 4]
for
In [1]: A = [['apple', 1],['banana', 2],['orange', 3],['grape', 4]]
In [2]: for x in A:
...: print(x)
...:
['apple', 1]
['banana', 2]
['orange', 3]
['grape', 4]