title: Does an Algorithm need to have an output necessarily?
body: <p>So I did a test on Pseudocode/Algorithms.</p>
  
  <p>There was a True/False statement: <code>An Algorithm must always have an output.</code></p>
  
  <p>I put <code>F</code> as my Answer, but the teacher marked it incorrectly.</p>
  
  <p>I thought of [Python]:</p>
  
  <p><code>x = 100/4
  </code></p>
  
  <p>The above code just defines <code>x</code>. Does not output anything. (Can't it be considered an algorithm?)</p>
  
  <p>Another example I thought, was:</p>
  
  <p><code>for x in x:
     y = 9999999999^9999999999/9999999
  </code></p>
  
  <p>Something like that ^ could possibly heat the computer and produce warmth for the user, or something like that. Does not exactly output anything.</p>