AdventOfCode/fred.py

9 lines
183 B
Python

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()