Python: What is the Formal Difference Between Print and Return?
<p>Lets say i define a simple function which will display an integer passed to it:</p>

<pre><code>def funct1(param1):
     print(param1)
     return(param1)
</code></pre>

<p>the output will be the same but and i know that when a return statement is used in a function the output can be used again. Otherwise the value of a print statement cannot be used. But I know this is not the formal definition can anyone provide me with a good defintion. thanks</p>
