Spaces:
Running
on
Zero
Running
on
Zero
File size: 379 Bytes
275b9f3 b1ce64c 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(radius=5)
print(f"Circle area: {circle.area()}")
rectangle = Rectangle(width=4, height=5)
print(f"Rectangle area: {rectangle.area()}")
if __name__ == "__main__":
main() |