Perimeter of the circle by R4R Team

Perimeter of circle is 2*3.14*r

program -

r=input("Enter radius of circlen")
print("Area of circle is "+str(perimeter))

output -

Enter radius of circle
Area of circle is 18.84

In this program, we take radius as a input from the user side then we change the radius to integer beacuse by default input return str data type. then we calculate the perimeter and store in variable 'perimeter' and then we print that variable.

Leave a Comment:
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!