I suppose you could generate what you want as a string, and then just
copy and paste it in, but that's pretty crude. I.e. something like:
n = 20
input = ''
for i in range(n):
input = input + 'x'+str(i)+'='+str(i)
if i<n-1: input = input + ','
and then if you print input you could paste it in.
There is no doubt that @interact can and should be improved in various
ways. That said, I have often found that by re-thinking the design of
my @interacts I can bypass various limitations.
-Marshall Hampton
--
You received this message because you are subscribed to the Google Groups
"sage-edu" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-edu?hl=en.