title: I have a list with values = ["a","b","c","d"]
body: <p>I have a list with <code>values = ["a","b","c","d"]</code></p>
  
  <p>I am expecting output in below 2 formats. Could any one please help.
  I have tried using for x in list, range but no luck.</p>
  
  <p><strong>Output 1:</strong></p>
  
  <pre>
  a
  b
  c
  d 
  
  a
  b
  c
  d
  </pre>
  
  <p><strong>output 2:</strong></p>
  
  <pre>
  a
  a
  a
  a
  
  b
  b
  b
  b
  
  c
  c
  c
  c
  
  d
  d
  d
  d
  
  </pre>