Decode School

Decode School - The School for Problem Solvers
Welcome to My Blog.
Need Assignment / Project Guidance (or) Training in Python?

Area of Circle in Python

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

Sample Input 1:


Sample Output 1:


Program or Solution

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


Program Explanation

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