I need to generate a dictionary as a pattern in the following way as an example:
x = 3 #number of keys
y = 4 #the number of values in first key, incremented in each following key
The desired output is:
{1:[0,1,2,3],2:[0,1,2,3,4],3:[0,1,2,3,4,5]}
How can I generate this output?