title: How to create a table without using methods or for-loops?
body: <p>I'm trying to create a 4x3 table <strong>without</strong> methods or for-loops.
  I'd like to use what I learned in class, which is booleans, if-statements, and while-loops.</p>
  
  <p>I want it so that if I input <code>create_table('abcdefghijkl')</code> it would start from the the left top most row and column and go down until the end of the column and then start again at the top of the next column and so on, like displayed below:</p>
  
  <pre><code>| a | e | i |
  
  | b | f | j |
  
  | c | g | k |
  
  | d | h | l |
  </code></pre>
  
  <p>Below is what I have so far. It's not complete. How do I add to the function so that after 4 rows down, the string should continue to the next column starting from the top?
  I'm wracking my brain over this. </p>
  
  <p>All examples I can find online uses for loops and methods to create tables such as these, but I'd like to implement the while loop for this one.</p>
  
  <p>Thanks in advance!</p>
  
  <pre><code>def create_table(table):
      t =  "" + "|" + ""
      i = 0
      while i &lt; 12:
          t = t + " " + "|" + table[i] + " "
          i=i+1
          print(t)
      return table
  </code></pre>