a=[[10,20,30],[25,40,50],[60,70,80]]
print(a)
for r in a:
print(r)
output:
[[10, 20, 30], [25, 40, 50], [60, 70, 80]]
[10, 20, 30]
[25, 40, 50]
[60, 70, 80]
print(a)
for r in a:
print(r)
output:
[[10, 20, 30], [25, 40, 50], [60, 70, 80]]
[10, 20, 30]
[25, 40, 50]
[60, 70, 80]
No comments:
Post a Comment