PyConnect-4/test.py

9 lines
100 B
Python

a = [
[1, 2, 3],
[4, 5, 6],
[7, 8, 9]
]
for b in a:
ind = a.index(b)
print(ind)