I came across some code in python which I am unable to understand completely.
[func([t.string]) for t in textList]
where textList is a list of html tag enclosed text. What it does and how is it different from this?
for t in textList
func(t.string)