The area of a circle

Report a typo

Write a program that reads an integer that represents the radius of a given circle and calculates its area. To calculate the area of a circle, use the following formula: S=πr2S=\pi r^2.

Print the result rounded to 2 decimal places.

Sample Input 1:

5

Sample Output 1:

78.54
Write a program in Python 3





___

Create a free account to access the full topic