Is there any reason why something like this would not be a good idea? >>> a_list = [1, 2, 3, 4, 5] >>> a, b, *c = a_list You could then do things like this: >>> lol = [[1, 2], [3, 4, 5, 6, 7], [8, 9, 10, 11, 12, 13]] >>> for a, b *c in lol: ... - Dave -- http://www.object-craft.com.au
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4