<｜begin▁of▁sentence｜>### Instruction:
Given the top-left coordinate (20, 10) and the bottom-right coordinate (50, 30) of a rectangle, how would you change the x-coordinate of the left side of the rectangle to 15 and obtain the updated bounding box?
### Response:
import igraph as ig

# Create a rectangle instance
rectangle = ig.Rectangle(20, 10, 50, 30)

# Set the X coordinate of the left side
current_left = rectangle.left
new_left = 15  # New X coordinate for the left side
rectangle.left = new_left

# Let's print the updated rectangle's bounding box
print('Updated left coordinate:', rectangle.left)
print('Rectangle bounding box:', rectangle.top, rectangle.left, rectangle.bottom, rectangle.right)
<|EOT|>
