from math import*r = int(input())print(round(pi*(r**2),3))print(round(2*pi*r,3))
10
314.159 62.832
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!