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 | asked 2018-01-11 22:16:35 +0100 Anonymous |
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?