Spaces:
Running
on
Zero
Running
on
Zero
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() |