I have a list with 64 values, that I want to split into 8 smaller lists. This is the function I used to make the values.
def listMaker(l):
for i in range(10):
l.append(f"0{i}") #Makes all singles digit numbers start with 0 ('01') to make grid even length
for i in range(10, 64):
l.append(f"{i}") #prints all numbers upto 63 (for index 0-63)
I want to go from:
['1','2','3','4']
To something like [['1','2']['3','4']]
So that it can be referenced like print(l[val1][val2])