title: How to repeat a string until the length of another string, including spaces?
body: <p>For example, </p>
  
  <pre><code>string1 = "The earth is dying"`
  string2:"trees" 
  </code></pre>
  
  <p>I want a new string to be: <code>tre estre es trees</code></p>
  
  <p>I was thinking to split the first string into a list and iterate through, but I having trouble getting a second for loop that would iterate through the second string and add it to the first one until the right length is reached? Also, I would have some type of if statement that would check for spaces and add them into the final list. And then possibly join the final list?  </p>
  
  <pre><code>final_string = ''
  string1_list = list(string1)
  for i in range(string1_list):
      if string1_list[i] != " " #aka has a letter there
          for j in range(...) # how do I get a loop that would go through string2
          final_string += ... # and add into this string 
  </code></pre>