title: Crazy python behaviour
body: <p>I have a little piece of python code in the server script for my website which looks a little bit like this:</p>
  
  <pre><code>console.append([str(x) for x in data])
  console.append(str(max(data)))
  </code></pre>
  
  <p>quite simple, you might think, however the result it's outputting is this:</p>
  
  <pre><code>['3', '12', '3']
  3
  </code></pre>
  
  <p>for some reason python thinks 3 is the max of [3,12,3]!</p>
  
  <p>So am I doing something wrong? Or this is misbehaviour on the part of python?</p>