[Tutor] Suppressing output in interactive mode
brunson at brunson.com
Fri Jan 11 20:49:48 CET 2008
Olivier Lefevre wrote:
>> Are you talking about the >>> prompt?
>> 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.
More information about the Tutor