title: Differences between the following python and ruby code
body: <p>I was trying to solve the following problem: <a href="https://www.codeeval.com/open_challenges/23/" rel="nofollow">https://www.codeeval.com/open_challenges/23/</a></p>
  
  <p>This was my solution in Python, which didn't pass:</p>
  
  <pre><code>for x in range(1,13):
      string = ''
      for y in range(1,13):
          string += ' '*(4-len(str(x*y))) + str(x*y)
      print string.strip()
  </code></pre>
  
  <p>This was my friend's solution in Ruby, which did pass:</p>
  
  <pre><code>for i in 1..12
    line = ""
    for j in 1..12
      line += " " * (4 - (j * i).to_s.length) + "#{j * i}"
    end
    puts line.strip
  end
  </code></pre>
  
  <p>To me, the two snippets look like they do the same thing and they output the same thing based on my testing. Do you think there is a reason my solution isn't being accepted other than issues with the evaluation system?</p>