VirVen's picture
Upload folder using huggingface_hub
2271a07 verified
raw
history blame contribute delete
183 Bytes
import math
# Get radius from user
r = float(input("Enter the radius: "))
# Calculate the area
area = math.pi * (r**2)
# Print the result
print("The area of the circle is:", area)