<｜begin▁of▁sentence｜>### Instruction:
Given a rectangle with its vertex coordinates at (0,0) and an initial width and height of 20, how can you set the shape of the rectangle to have a new width of 50 and a height of 100, and then print the new width and height?
### Response:
from igraph.drawing.shapes import Rectangle

# Create a Rectangle object
rect = Rectangle(0, 0, 20, 20)

# Set the shape of the rectangle to have a width of 50 and a height of 100
rect.shape = (50, 100)

# Output the rectangle's new width and height
print(f'Width: {rect.shape[0]}, Height: {rect.shape[1]}')
<|EOT|>
