I\'m trying to populate a list with a for loop. This is what I have so far:
newlist = [] for x in range(10): for y in range(10): newlist.append(y
You should put a intermiate list to get another level
newlist = [] for x in range(10): temp_list = [] for y in range(10): temp_list.append(y) newlist.append(temp_list)