a = [[0,0],[0]]
for x in range(10):
a[0][0] += 1
for i in range(len(a)-1):
for y in range(len(a[i])-1):
if a[i][y] > 1:
a[i][y] = 0
a[i][y+1] += 1
if a[i][len(a[i])-1] > 1:
a[i][len(a[i])-1] = 0
a[i+1][0] += 1
if a[len(a)-1][len(a[len(a)-1])-1] > 1:
a[len(a)-1][len(a[len(a)-1])-1] = 0
print(a)