Hi, I'm trying to convert a sympy code to sage.
I have found that the following does not work:
sector1 = [1,2,3]
sector2 = [4,5,6]
newlist = [*sector1, sector2]
even though the unpacking works for functions (ex F(*sector1)).
How do I do that?
| 1 | initial version | |
Hi, I'm trying to convert a sympy code to sage.
I have found that the following does not work:
sector1 = [1,2,3]
sector2 = [4,5,6]
newlist = [*sector1, sector2]
even though the unpacking works for functions (ex F(*sector1)).
How do I do that?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.