I am relatively new to Python, and I am not sure what exactly this statement does. I haven't been able to find anything with a syntax like this in my course books either. I assume it declares an array? but I am nit sure.
What exactly does this statement mean/do?
G = {i: [] for i in range(len(l))}
(If anyone is able to explain it to me in Java equivalent, that would be easier as I know Java pretty well)