How can I write a function which prompts for user input?
I would like the function to work interactively. It gives you a prompt >, you type a number or a comma-separated sequence of numbers, and it does some calculations and gives you another prompt.
Also, how would I parse the input string?
(The point is to simplify inputing some numbers which I have written on a sheet of paper into Mathematica, so if it is too complicated, I'll find some other way.)