Warning: Undefined variable $highlight in /home/jeanmichel.richer/public_html/rendu_code.php on line 43
importmath
def main():
description ="1100101011100111"
l =len(description)
n =int(math.sqrt(l))
lab =[]
index =0 for y inrange(n):
row =[] for c inrange(n):
row.append(int(description[index]))
index +=1
lab.append(row)
print(lab) for row in lab: print(' '.join(str(x)for x in row))