File size: 473 Bytes
275b9f3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from .math_operations import add, subtract
from .shapes import Circle, Rectangle

def main():
    """Main function"""
    result = add(2, 3)
    print(f"2 + 3 = {result}")

    circle = Circle(0, 0, 5)
    print(f"Circle at ({circle.x}, {circle.y}) with radius {circle.radius}")

    rectangle = Rectangle(0, 0, 4, 5)
    print(f"Rectangle at ({rectangle.x}, {rectangle.y}) with width {rectangle.width} and height {rectangle.height}")

if __name__ == "__main__":
    main()