e.g. ```python class Foo: ... class Bar: foo:Foo bars = [Bar(), Bar(), Bar()] foos = Iter(bars).exapnd(lambda x: x.foo) # List of foos print(foos) [Foo(), Foo(), Foo()] ``` Inspiration from https://api.dart.dev/stable/2.8.2/dart-core/Iterable/expand.html
e.g.
Inspiration from https://api.dart.dev/stable/2.8.2/dart-core/Iterable/expand.html