Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

1
  • 1
    I'm not sure that this is a violation of "there's only one way to do it". There's no other way to initialize a list/tuple from multiple iterables -- You currently need to chain them into a single iterable which isn't always convenient. You can read about the rational in PEP-0448. Also, this isn't a python3.x feature, it's a python3.5+ feature :-). Commented Dec 8, 2015 at 21:41