from math import pi def myfun(): r = float(input("Input the radius of the circle : ")) # Calculate the area of the circle using the formula: area = π * r^2 area = pi * r ** 2 print("The area of the circle with radius " + str(r) + " is: " + str(area)) if __name__=="__main__": myfun()