title: How do I print stars and a sequence of numbers?
body: <p>I am trying to print:</p>
  <pre><code>* * * *
  * * * 1
  * * 1 2
  * 1 2 3 
  </code></pre>
  <p>I have tried these codes:</p>
  <pre><code>n = 3
  for i in range(1, n+1)
     print(str(&quot;* &quot;*(n-i)) + str(x for x in range(1, n+1)))
  </code></pre>
  <p>but the output says generator.</p>
  <p>Thanks!</p>