On Jan 22, 3:39 pm, Jonathan Gutow <gu...@uwosh.edu> wrote: > I'm probably being dense here....But would appreciate any suggestions/ > help. What I want to do is ask students to interactively input a > variable number of expressions based on some randomly generated > 'story' problems (actually chemical kinetic mechanisms). I can > generate the problems and check them, but cannot figure out how to > make the @interact construct accept a variable number of > input_boxes. Is it possible, and, if so, how?
Hi, just a quick idea, what about using just one box and split the string into individual tokens? i.e. ' 1 2 3 '.split() returns ['1', '2', '3'] H --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sage-edu" group. To post to this group, send email to sage-edu@googlegroups.com To unsubscribe from this group, send email to sage-edu+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-edu?hl=en -~----------~----~----~----~------~----~------~--~---