imprimer un tableeau en python code example
Example 1: python tableau
l=10*[0]
print(l)
for i in range(len(l)):
l[i]=10*[0]
print(l)
l[0][0]=1
print(l)
l[0][1]=2
print(l)
Example 2: python tableau
l = [[0 for i in range(10)] for i in range(10)]