title: Multiples of 9 using this formula....? 9 * n, 9*(n+1),9*(n+2)
body: <p>This is for an assignment at school and I'm stuck on this question.</p>
  
  <p>Write an algorithm which displays on a new line on the screen, the first 20 values of multiples of 9, using a formula as follows. 
  9 * n, 9*(n+1),9*(n+2)</p>
  
  <p>I am supposed to make an algorithm with pseudocode or a flow chart, I've been trying it with python3.4 but I cant seem to print out more than (9,18,27). </p>
  
  <p>This is my code:</p>
  
  <pre><code>def multiples():
  
    for n in range(0, 2):
        a = 9*n, 9*(n+1), 9*(n+2)
    print (a) 
  </code></pre>
  
  <hr>
  
  <p>Can someone please tell me where I'm going wrong and possibly show me a better way of doing this with pseudocode or a flow chart. (Thats how the teacher wants it done) I just use Python to see if it actually works.
  Thank you.</p>