import math r = int(input("Enter the radius of the circle: ")) print(f"The formula to find the perimeter of a semicircle is πr + 2r, so the answer is {math.pi*r + 2*r}")