Olivier Lefevre wrote: >> Are you talking about the >>> prompt? >> > > Yes. > > >> But if you refer to a loop when would you ever be evaluating >> expressions inside a loop without assigning them? >> > > Some method calls return a value that you may not be interested > in but which will still be printed, e.g., Set.add in Java (if > you are using jython, this is relevant). > >
Then assign the return value to a variable and never use it. I don't see the problem. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor