title: Do both lines return a string?
body: <p>I am currently following through the beginner Codebat track.  Both pieces of code work however is there anything fundamentally wrong/different between the two ways of writing the below code?</p>
  
  <p>thanks,</p>
  
  <pre><code>def mine(myStr, x):
      myResult = myStr * x
      return myResult
  
  
  def codebat(thierStr, i):
      codeResult = ''
      for i in range(i):
          codeResult += thierStr
      return codeResult
  </code></pre>