def rotateBitmap270(bitmap):
    """
        Rotates the `bitmap` 270 degrees.
    """
    width = len(bitmap[0])
    height = len(bitmap)
    rotated = [[0 for i in range(height)] for j in range(width)]
    for x in range(width):
        for y in range(height):
            rotated[x][y] = bitmap[y][x]
    return rotated