Re: [sage-support] Writing 'n' variables in Sagemath linux ubuntu

2016-01-27 Thread Michael Orlitzky
On 01/27/2016 12:47 AM, Jori Mäntysalo wrote: > If I understood this, isn't > > var(['a'+str(i) for i in range(1,4)]) > > what is wanted? It will make a1, a2 and a3 to variables. > Yeah, but then you can't reference them later. -- You received this message because you are subscribed to the Go

Re: [sage-support] Writing 'n' variables in Sagemath linux ubuntu

2016-01-26 Thread Jori Mäntysalo
If I understood this, isn't var(['a'+str(i) for i in range(1,4)]) what is wanted? It will make a1, a2 and a3 to variables. -- Jori Mäntysalo