var xs = [] let num = 10 for n in 0.. () => n * n)(n)) } for x in xs { print(x()) }