[, [], [, []]]
Python is new to me, so I am struggling a lot with the syntax. I am not sure how to write this function.
This is what I makes sense to me but I am sure this is nowhere near python code"
def rep(n): [x for x in range(n)] 0 =  1 = [] for i in range(n) return '' if i==0 else '[]' if n==1 else range(i)