B
bobueland
I've seen this construct in a script
I tried another myself
Apparently you can do
[function(x) for x in list]
I tried to find a description of this in "Library Reference" but
couldn't find it. Could somebody direct me where this type of construct
is described.
Bob
['A', 'B', 'C'][x.capitalize() for x in ['a','b', 'c']]
I tried another myself
[x+1 for x in [1,2,3]] [2, 3, 4]
Apparently you can do
[function(x) for x in list]
I tried to find a description of this in "Library Reference" but
couldn't find it. Could somebody direct me where this type of construct
is described.
Bob