def list2int(x): return list(map(int, x)) def ppprint(x): for idx,i in enumerate(x): for jdx,j in enumerate(i): print(x[idx][jdx],end='') print()