Timeline for N-Dimensional Cartesian Product
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 17, 2019 at 9:12 | comment | added | Chas Brown | @xnor : quite right! Carry on... | |
Nov 17, 2019 at 9:11 | comment | added | xnor | @ChasBrown I don't think that's allowed, it nests the output a lot. And unfortunately Python doesn't do iterable unpacking in comprehensions. | |
Nov 17, 2019 at 6:10 | history | edited | xnor | CC BY-SA 4.0 |
added 46 characters in body
|
Nov 17, 2019 at 6:09 | comment | added | Unrelated String |
Since the return value doesn't matter, you can shave two bytes off by using def : Try it online!
|
|
Nov 17, 2019 at 5:56 | history | answered | xnor | CC BY-SA 4.0 |