title: Convert variable integer into single digit word form in a list
body: <p>Create a function named list_numbers_in_words(...) which receives as a parameter a positive integer number and returns a list with the words corresponding to each digit, in the same order as the digits appear in the number.
  As an example, the following code fragment:</p>
  
  <pre><code>res = list_numbers_in_words(5438)
  print(res)
  </code></pre>
  
  <p>should produce the output:</p>
  
  <pre><code>['five', 'four', 'three', 'eight']
  </code></pre>
  
  <p>Code atempted:</p>
  
  <pre><code>def list_numbers_in_words(num):
      l = list(num);
      single_digits = ["zero", "one", "two", "three",  
                       "four", "five", "six", "seven",  
                       "eight", "nine"]; 
      if (l==1):  
          print(single_digits[ord(num[0]) - '0']); 
          return; 
      x = 0; 
      while (x &lt; len(num)):
       if (l &gt;= 3): 
          if (ord(num[x]) - 48 != 0): 
                  print(single_digits[ord(num[x]) - 48],  
                                             end = " "); 
                  print(tens_power[l - 3], end = " ");
          l -= 1; 
       else: 
          if (ord(num[x]) - 48 == 1):  
                  sum = (ord(num[x]) - 48 + 
                         ord(num[x]) - 48); 
                  print(two_digits[sum]); 
                  return; 
          elif (ord(num[x]) - 48 == 2 and 
                    ord(num[x + 1]) - 48 == 0): 
                  print("twenty"); 
                  return; 
          else: 
                  i = ord(num[x]) - 48; 
                  if(i &gt; 0): 
                      print(tens_multiple[i], end = " "); 
                  else: 
                      print("", end = ""); 
                  x += 1; 
                  if(ord(num[x]) - 48 != 0): 
                      print(single_digits[ord(num[x]) - 48]); 
          x += 1; 
  </code></pre>