<｜begin▁of▁sentence｜>### Instruction:
Given two rectangles defined by the top-left and bottom-right coordinates (0, 0, 10, 20) and (0, 0, 10, 20) respectively, and a third rectangle with coordinates (5, 5, 15, 25), how can you determine if the first two rectangles are equal and different from the third using their __eq__ method?
### Response:
from igraph.drawing.shapes import Rectangle

# Create two Rectangle objects
rect1 = Rectangle(0, 0, 10, 20)
rect2 = Rectangle(0, 0, 10, 20)
rect3 = Rectangle(5, 5, 15, 25)

# Use the __eq__ method to compare rectangles
are_rects_equal = rect1.__eq__(rect2)
print(f'Rect1 is equal to Rect2: {are_rects_equal}')

# Compare with a different rectangle
are_rects_equal = rect1.__eq__(rect3)
print(f'Rect1 is equal to Rect3: {are_rects_equal}')
<|EOT|>
