I've got a fun challenge for those of you python folks out there.<BR><BR>I need to stick this into a lambda to use as a button command.<BR><pre class="ip-ubbcode-code ...
t = [] for i in range(3): t.append(lambda : i) t2 = [] def WTF(i): t2.append(lambda : i) for i in range(3): WTF(i) for x in t: print(x()) for x in t2: print(x()) ...