title: In beginner scheme how do I represent a variable as a string?
body: <p>My question is how do i code for</p>
  
  <pre><code>(triangle 5) produces (list "*****" "****" "***" "**" "*")
  </code></pre>
  
  <p>Note: (5 astericks 4, then 3 then 2 then 1). So far I have:</p>
  
  <pre><code>(define (triangle n)
    (cond
      [(zero? n) empty]
      [else (cons n (triangle (sub1 n)))]))
  </code></pre>
  
  <p>But that only gives me <code>(list 5 4 3 2 1)</code>. Please keep note that this uses only the basic of scheme beginner lists and abbreviations. Thanks!</p>