1002 - Area of a Circle || URI Online Judge
Problem name: 1002 - Area of a Circle
Judge: URI Online Judge
Problem link: 1002 - Area of a Circle
Solution on GitHub: 1002 - Area of a Circle
[At first you should try to solve the problem on your own. This will increase your thinking power and the ability to solve the program will increase. And if you copy directly from here, you will not learn anything. So my advice is to try to solve it yourself first. If not then check this code. Once you understand the code, do it yourself. Don't copy from here.
Best of luck]
URI Online Judge 1002 - Area of a Circle Solution in Python
R = float(input())
result = 3.14159 * R * R
print("A=%.4f" % round(result, 4))
