CoolFace
Apppublic

KaiserShultz/Ankelodon_AI_Multi_task_agentic_system

sourceHugging Facemitupdated 1y agoView on Hugging Face
1likes
test.py11 linesDownload Raw Back to test_folder
1import math2 3def calculate_area(radius):4    """Calculate the area of a circle given its radius."""5    if radius < 0:6        raise ValueError("Radius cannot be negative")7    return math.pi * (radius ** 2)8 9radius = 510area = calculate_area(radius)11print(area)