title: Tiled Game Background and the "'float' object cannot be interpreted as an integer" error
body: <p>I am working my way through an entry level Pygame tutorial on a Windows 7 machine and for the following code, I am getting this error:</p>
  
  <p>"builtins.TypeError: 'float' object cannot be interpreted as an integer"</p>
  
  <p># 6 - Draw the screen elements</p>
  
  <pre><code>for x in range(width//grass.get_width()+1):
      for y in range(height//grass.get_height()+1):
          screen.blit(castle,(0,30))
  </code></pre>
  
  <p>Through my research on this site I found that using the int division separator (//) got me past the error, but alas my grass image won't tile.  I know this code works with (/) on my Linux machine because I have completed the game previously.  If you take the time to look into this I truly appreciate your help!  :-)</p>