samworld.py
def tile_position(tile_ref, tile_size):
    """Returns the x and y coordinates of the top-left corner of a tile, given the tile's row and column.
       tile_ref is a 2-item sequence representing the column and row of the tile
       tile_size is the size of each tile as an int."""
       
    return tile_ref[0]*tile_size, tile_ref[1]*tile_size
Returns the x and y coordinates of the top-left corner of a tile, given the tile's row and column.
       tile_ref is a 2-item sequence representing the column and row of the tile
       tile_size is the size of each tile as an int.
Returns the x and y coordinates of the top-left corner of a tile, given the tile's row and column.
tile_ref is a 2-item sequence representing the column and row of the tile
tile_size is the size of each tile as an int.
Returns the x and y coordinates of the top - left corner of a tile given the tile ' s row and column . tile_ref is a 2 - item sequence representing the column and row of the tile tile_size is the size of each tile as an int .
def tile_position(tile_ref, tile_size):
    return tile_ref[0]*tile_size, tile_ref[1]*tile_size
def tile_position ( tile_ref , tile_size ) : return tile_ref [ 0 ] * tile_size , tile_ref [ 1 ] * tile_size
Returns the x and y coordinates of the top-left corner of a tile, given the tile's row and column.
Returns the x and y coordinates of the top - left corner of a tile given the tile ' s row and column .
"""Returns the x and y coordinates of the top-left corner of a tile, given the tile's row and column.
       tile_ref is a 2-item sequence representing the column and row of the tile
       tile_size is the size of each tile as an int."""
tile_ref
tile_size