Decode School

Decode School - The School for Problem Solvers

Welcome to my blog. Subscribe and get my latest blog post in your inbox.

Circumference of Circle in Python

Python program to get radius of circle and find circumference of circle.

Sample Input 1:


Sample Output 1:


Program or Solution

r=int(input("Enter the radius:"))
print("circumference: {}".format(area))


Program Explanation

get the radius of a circle using input() method calculate area = 2 * pi * r