Problem:

Circle

Write a program which calculates the area and circumference of a circle for given radius r.

Input

A real number r is given.

Output

Print the area and circumference of the circle in a line. Put a single space between them. The output should not contain an absolute error greater than 10-5.

Constraints

  
 0 < r < 10000

Sample Input 1

2

Sample Output 1

12.566371 12.566371

Sample Input 2

3

Sample Output 2

28.274334 18.849556



Sample input:
2


Sample output:
12.566371 12.566371

Submission status: Accepted

Solution code:
import math
r = input()
a = r * r * math.pi
l = 2 * math.pi * r
print ("%f %f" %(a,l))

Submission status: Accepted

Solution code:
import math
r = float(input())
area = math.pi * r * r
circumference = math.pi * r * 2
print("%.5f %.5f" % (area, circumference))

Submission status: Accepted

Solution code:
import math
r = float(input())
print(r ** 2 * math.pi, r * 2 * math.pi)

Submission status: Accepted

Solution code:
from math import pi
r = float(input())
z = r*r*pi
l = 2*r*pi
print('{} {}'.format(z,l))

Submission status: Accepted

Solution code:
import math
r = float(input())

s = r * r * math.pi
l = r * 2 * math.pi

print("%.6f %.6f" % (s,l))

Submission status: Accepted

Solution code:
import math
line = float(input())
print(math.pi*line**2, math.pi*(line*2))

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%f %f" % (r * r * math.pi, 2 * math.pi * r))

Submission status: Accepted

Solution code:
#coding:utf-8
import math

r=float(input())
print("%.6f"%(math.pi*r**2)+" %.6f"%(2*math.pi*r))

Submission status: Accepted

Solution code:
import math
if __name__ == "__main__":
	r = float(input())
	print("%.6f %.6f"%(math.pi*r**2,math.pi*2*r))

Submission status: Accepted

Solution code:
import math
r = float(input())

print("{:0.8f} {:0.8f}".format(r*r*math.pi, 2*r*math.pi))

Submission status: Accepted

Solution code:
import math
x = input()
x = float(x)
print("%lf %f" % (x*x * math.pi, 2*math.pi*x))

Submission status: Accepted

Solution code:
import math
r = float(input())
print(r*r*math.pi,2*math.pi*r)

Submission status: Accepted

Solution code:
import math
r = float(raw_input())
print "%.7f %.7f"%(math.pi*r*r, 2*math.pi*r)

Submission status: Accepted

Solution code:
import sys
import math

value = float(sys.stdin.readline())

print "%.9f %.9f" % (math.pi * value * value, 2.0 * math.pi * value)

Submission status: Accepted

Solution code:
import math
r = float(raw_input())
print "{0:.10f} {1:.10f}".format(r*r*math.pi, 2*r*math.pi)

Submission status: Accepted

Solution code:
import math
r=float(input())
print("{0:.6f} {1:.6f}".format(r*r*math.pi, 2*r*math.pi))

Submission status: Accepted

Solution code:
import math

a = float(input())

r = a * a * math.pi
r2 = a * 2 * math.pi

print("%.10f %.10f" % (r, r2))

Submission status: Accepted

Solution code:
import math
r = float(input())
print('{0:.6f} {1:.6f}'.format(r * r * math.pi, (r + r) * math.pi))

Submission status: Accepted

Solution code:
import math


if __name__ == '__main__':
    radius = float(input())

    area = radius**2 * math.pi
    perimeter = 2 * radius * math.pi

    print('{0:.6f} {1:.6f}'.format(area, perimeter))

Submission status: Accepted

Solution code:
from math import pi
r = float(input())
s = pi * r * r
l = 2 * pi * r
print(s, l)

Submission status: Accepted

Solution code:
from math import pi
r = float(input())
s = pi * r * r
l = 2 * pi * r
print(s, l)

Submission status: Accepted

Solution code:
from math import pi
r = float(input())
print('{0:.6f} {1:.6f}'.format(r**2*pi,r*2*pi))

Submission status: Accepted

Solution code:
import math
r=float(input())

area=math.pi*r*r
circle=2*math.pi*r
print('%f %f'%(area,circle))

Submission status: Accepted

Solution code:
from math import pi
r = float(input())
print('{:.5f} {:.5f}'.format(r*r*pi,r*2*pi))

Submission status: Accepted

Solution code:
from math import pi
r=float(input())
print("{} {}".format(r*r*pi,2*pi*r))

Submission status: Accepted

Solution code:
'''
ITP-1_4-B
 ????????¢?????¨?????¨
?????? r ???????????¢?????¨?????¨?????????????±???????????????°?????????????????????????????????
 Input
??????????????° r ????????????????????????
 Output
??¢?????¨?????¨?????????????????????????????§????????£????????????????????????????????????????????????????°???°?????°??¨??????0.00001 ??\???????????????????????§?????????????????¨????????????
'''
# import
import math

# ?????°??????????????????
r=float(input())

# ?????¨????????????
pai = math.pi

# ????????¢???????±???????
outputData01 = r*r*pai

# ?????¨????±???????
outputData02 = 2*r*pai

# ?????????????????????
print("{0:.6f} {1:.6f}".format(outputData01, outputData02))

Submission status: Accepted

Solution code:
# coding: utf-8
# Here your code !
import math

r = float(input())

print("{0:.7f} {1:.7f}".format((r ** 2) * math.pi,2 * math.pi * r))

Submission status: Accepted

Solution code:
import math

r = float(input())

area = math.pi * (r ** 2)
circum = 2 * math.pi * r

print("{0:.6f} {1:.6f}".format(area, circum))

Submission status: Accepted

Solution code:
import math

a = float(input())
print("{0:.6f} {1:.6f}".format(a*a*math.pi, a*2.0*math.pi))

Submission status: Accepted

Solution code:
import math

r = float(input())

if r > 0 and r < 10000:
    circle_length = (r * 2) * math.pi
    circle_area   = r * r * math.pi

    print("{0:f} {1:f}".format(circle_area, circle_length))
else:
    pass

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%.7f %.7f" % (math.pi*r*r,2.0*r*math.pi))

Submission status: Accepted

Solution code:
import math
r = float(input())

print("{:.6f}".format(r*r*math.pi), "{:.6f}".format(2*r*math.pi))

Submission status: Accepted

Solution code:
# -*- coding:utf-8 -*-
import math
r = float(input())
a = r*r*math.pi
d = 2*r*math.pi
print(a,d,sep=' ')

Submission status: Accepted

Solution code:
pi = 3.14159265359
r = float(input())
a,d = r*r*pi,2*r*pi
print(a,d,sep=' ')

Submission status: Accepted

Solution code:
import math

a = float(input())
area = a * a * math.pi
cir = (a * 2) * math.pi
print(area,cir)

Submission status: Accepted

Solution code:
import sys
import math

r = float(sys.stdin.readline())
l = math.pi*r*2
s = math.pi*r**2
 
print("{:.6f} {:.6f}".format(s, l))

Submission status: Accepted

Solution code:
import math

r = float(raw_input())
print '%.5f %.5f' % (r*r*math.pi, 2*r*math.pi)

Submission status: Accepted

Solution code:
import math

r = float(input())
S = r * r * math.pi
L = 2 * r * math.pi

print('{0:.6f}'.format(S),'{0:.6f}'.format(L))

Submission status: Accepted

Solution code:
import math
r = input()
r = float(r)
s = r ** 2 * math.pi
enshu = r * 2 * math.pi
print("{0:.6f}".format(s))
print("{0:.6f}".format(enshu))

Submission status: Accepted

Solution code:
import math
r = input()
r = float(r)
s = r ** 2 * 3.141592653589793
enshu = r * 2 * 3.141592653589793
print("{0:.6f}".format(s))
print("{0:.6f}".format(enshu))

Submission status: Accepted

Solution code:
from math import pi
r = float(input())
print ("%s %s"%(pi * pow(r,2), 2 * pi * r))

Submission status: Accepted

Solution code:
import math

r = float(input())

a = r * r * math.pi
c = 2 * r * math.pi
print('%.6f %.6f' % (a, c))

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%f %f" %(r*r*math.pi,2*r*math.pi))

Submission status: Accepted

Solution code:
import math

r = float(input())

s = math.pi * r ** 2 
l = 2 * math.pi * r

print("{0:.6f} {1:.6f}".format(s, l))

Submission status: Accepted

Solution code:
import math
import fpformat
r=0.0
r=input()

print fpformat.fix(r*r*math.pi,6),fpformat.fix(r*2*math.pi,6)

Submission status: Accepted

Solution code:
#!usr/bin/env python3

import sys
from math import pi


def area_of_circle(radius):
    return pi * radius**2


def circumference_of_circle(radius):
    return 2*pi*radius


def main():
    r = float(sys.stdin.readline())
    print('%f %f' % (area_of_circle(r), circumference_of_circle(r)))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#!usr/bin/env python3

import sys
from math import pi


def area_of_circle(radius):
    return pi * radius**2


def circumference_of_circle(radius):
    return 2*pi*radius


def main():
    # NOTE Tried sys.stdin.readline() instead of input()
    r = float(sys.stdin.readline())
    print('%f %f' % (area_of_circle(r), circumference_of_circle(r)))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import math

def print_circle(r):
    """
    r: float
    outputs area and circumfence of a circle(radius r)
    
    >>> print_circle(2)
    12.566371 12.566371
    """

    print("{0:.6f} {1:.6f}".format(math.pi * r**2, 2 * math.pi * r))

if __name__ == '__main__':
    r = float(input())
    print_circle(r)

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%f %f"%(math.pi*r*r,2*math.pi*r))

Submission status: Accepted

Solution code:
import math
r = float(input())
S = r*r*math.pi
l = 2*r*math.pi
print("{:.5f} {:.5f}".format(S,l))

Submission status: Accepted

Solution code:
import math

r = float(input())

S = math.pi * r * r
l = 2 * r * math.pi

print('{0:f} {1:f}'.format(S,l))

Submission status: Accepted

Solution code:
import math
r=float(input())
s=r*r*math.pi
l=2*r*math.pi
print "%.6f %.6f"%(s,l)

Submission status: Accepted

Solution code:
import math
r = input()
r = float(r)
S = math.pi * r * r
L = 2 * math.pi * r
print("{0} {1}".format(round(S,6), round(L,6)))

Submission status: Accepted

Solution code:
import math
n = float(input())
area = "%.6f" % float(n **2 *  math.pi)
circ = "%.6f" % float(n * 2 * math.pi)
print(area, circ)

Submission status: Accepted

Solution code:
import math
if __name__ == "__main__":
    r = float(input())
    equivalent_of_circle = math.pi*(r**2)
    len_of_circle = math.pi*r*2
    print("%0.6f %0.6f"%(equivalent_of_circle,len_of_circle))

Submission status: Accepted

Solution code:
r=float(input())
p=3.14159265358979
print("{0:.5f} {1:.5f}".format(p*r**2,2*p*r))

Submission status: Accepted

Solution code:
import math

r = float(float(input())) #??´??°??§?????????????????\???????????¨??? int?????????????????????????????????

#menseki
a = r*r*math.pi
 
#ensyu
b = 2*r*math.pi

print("%.6f %.6f" % (a, b))

Submission status: Accepted

Solution code:
import math 

r = float(input())

S = math.pi * r**2
L = 2 * math.pi * r

print(S, L)

Submission status: Accepted

Solution code:
import math
r = float(input())
circumference = math.pi*r**2
area = 2*math.pi*r
print("{0:.6f} {1:.6f}".format(circumference, area))

Submission status: Accepted

Solution code:
import math

r = float(input())
s = r * r * math.pi
c = 2 * r * math.pi
print("{0:0.6f} {1:0.6f}".format(s, c))

Submission status: Accepted

Solution code:
import math
r = float(input())
print('%.5f' % (r * r * math.pi), '%.5f' % (2 * math.pi * r))

Submission status: Accepted

Solution code:
import math 
r=input()
print "%.9f"%(math.pi*r*r), math.pi*r*2

Submission status: Accepted

Solution code:
import math
r = float(input())
menseki = r*r*math.pi
syuu = r*2*math.pi
print("%.6f" % (menseki),end=" ")
print("%.6f" % (syuu))

Submission status: Accepted

Solution code:
import math
r = float(input())
print("{} {}".format(math.pi * r ** 2, 2 * math.pi * r))

Submission status: Accepted

Solution code:
import math
r = float(input())
print("{0:.6f} {1:.6f}".format(math.pi*r**2, 2*math.pi*r))

Submission status: Accepted

Solution code:
from math import pi
r=input()
print"%.8f %.8f"%(pi*r*r,2*pi*r)

Submission status: Accepted

Solution code:
from math import pi
r = float(input())
circle_squre = r * r * pi
circle_length = (r*2) * pi

print('{}'.format(circle_squre),'{}'.format(circle_length))

Submission status: Accepted

Solution code:
import math
pi = math.pi
r = float(input())
S = r * r * pi
L = 2 * r * pi
print("{0:.6f}".format(S) + " " + "{0:.6f}".format(L))

Submission status: Accepted

Solution code:
from math import pi

r = float(input())
print(r**2 * pi, 2 * r * pi)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
from math import pi

r = float(input())
area = r**2*pi
circumference = r*pi*2
              
print("{:.6f} {:.6f}".format(area, circumference))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

import sys
import os
import math
PI = math.pi

r = float(input())

s = r * r * PI
l = 2 * PI * r

print(s, l)

Submission status: Accepted

Solution code:
# cording: utf-8

import math

num = float(input())

print(str(num**2*math.pi) + " " + str(2*num*math.pi))

Submission status: Accepted

Solution code:
import math
r = float(input())

print(r * r *math.pi, 2*r*math.pi)

Submission status: Accepted

Solution code:
import math
r = float(input())
s = r ** 2 * math.pi
c = 2 * r * math.pi
print('{0:.5f} {1:.5f}'.format(s,c))

Submission status: Accepted

Solution code:
import math

r = float(input())

S = math.pi * r * r
L = 2 * math.pi * r

print("{0:.10f}".format(S),end=" ")
print("{0:.10f}".format(L))

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%f %f"%(math.pi*math.pow(r,2),2*math.pi*r))

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.1415926535897932384626433
v = r*r*pi
w = 2*r*pi
print("{0:.6f} {1:.6f}".format(v,w))

Submission status: Accepted

Solution code:
r = float(input())

s = r * r * 3.14159265358979
l = 2 * r * 3.14159265358979
 
print(s, end = " ")
print(l)

Submission status: Accepted

Solution code:
import math


r = float(input())

s = math.pi * r ** 2
l = 2 * math.pi * r

print("{:.5f} {:.5f}".format(s, l))

Submission status: Accepted

Solution code:
from math import pi
r = float(input())
print("{:.010f} {:.010f}".format(r * r * pi, 2 * pi * r))

Submission status: Accepted

Solution code:
import math
r = float(input())

print("{0:5f}".format(r**2*math.pi) , end = " ")
print("{0:5f}".format(2*r*math.pi))

Submission status: Accepted

Solution code:
import math
r=float(input())
m=float(math.pi)
s=r*r*m
l=2*r*m
print(s,l)

Submission status: Accepted

Solution code:
# coding: utf-8
# Here your code !

import math

def func():
    try:
        line = input().rstrip()
        r = float(line)
    except:
        print("input error")
        return -1
        
    print("{0:f} {1:f}".format(r**2*math.pi,2*r*math.pi))

func()

Submission status: Accepted

Solution code:
pi = 3.141592653589793238
r = float(input())
print(r * r * pi, 2 * pi * r)

Submission status: Accepted

Solution code:
import math

r = float(input())
area = r*r*math.pi
length = 2*math.pi*r

print("{:8f} {:8f}".format(area,length))

Submission status: Accepted

Solution code:
r = input()
r = float(r)

a = 3.14159265359*r*r
c = 2*3.14159265359*r

print("%.6f %.6f" % (a, c))

Submission status: Accepted

Solution code:
import math
r = float(input())
print(r**2*math.pi, 2*r*math.pi)

Submission status: Accepted

Solution code:
from math import pi

r = float(input())

s = "{:.6f}".format(r ** 2 * pi) 
l = "{:.6f}".format(r * 2 * pi)

print(s, l)

Submission status: Accepted

Solution code:
from math import pi
r = float(input())
s = "{:.6f}".format(r ** 2 * pi) 
l = "{:.6f}".format(r * 2 * pi)
print(s, l)

Submission status: Accepted

Solution code:
import math
r = float(input())
pi = float(math.pi)

print("{0:.8f} {1:.8f}".format(r*r*pi,r * 2 * pi))

Submission status: Accepted

Solution code:
import math

r = input()
print('%f %f'% (math.pi *r *r , 2 * math.pi * r))

Submission status: Accepted

Solution code:
from math import pi
r = float(input())
print("{0:.6f} {1:.6f}".format(float(r*r*pi), float(2*r*pi)))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*
import math
r = float(input())
print('%.6f %.6f' % (r*r*math.pi, 2*r*math.pi))

Submission status: Accepted

Solution code:
from math import pi

r = float(input())

print("{:5f} {:5f}".format(pi*r**2, 2*pi*r))

Submission status: Accepted

Solution code:
import math
r = float(raw_input())
print "%f %f" % (r*r*math.pi, r*2*math.pi)

Submission status: Accepted

Solution code:
import math
r = float(input())
 
S = r ** 2 * math.pi
R = 2 * r * math.pi
print("{0:.6f}".format(S) + " " + "{0:.6f}".format(R))

Submission status: Accepted

Solution code:
import math
r = float(input())
print('{0:f} {1:f}'.format(r**2*math.pi,2*r*math.pi))

Submission status: Accepted

Solution code:
import math
r = float(input())
areaOfCircle = format(r * r * math.pi, '.6f')
circumference = format(2 * r * math.pi,'.6f')
print("{0} {1}".format(areaOfCircle, circumference))

Submission status: Accepted

Solution code:
import math

r = float(input())

a=math.pi * r * r
b=2 * math.pi * r

print('{0:.6f} {1:.6f}'.format(a,b))

Submission status: Accepted

Solution code:
r = float(input())
import math
print('{0:f} {1:f}'.format(r**2*math.pi,2*math.pi*r))

Submission status: Accepted

Solution code:
import math

r = float(input())

PI = math.atan(1.0)*4.0

print("{:.6f} {:.6f}".format(PI*r**2,2*PI*r))

Submission status: Accepted

Solution code:
import math
r = float(input())
print('{:.6f} {:.6f}'.format(math.pi*r*r, 2*math.pi*r))

Submission status: Accepted

Solution code:
r = float(input())
print("{0:.6f} {1:.6f}".format(r**2 * 3.141592653589, 2 * r * 3.141592653589))

Submission status: Accepted

Solution code:
from decimal import *
import math
r = Decimal(input())
menseki = round(r * r * Decimal(math.pi), 6)
enshu = round(r * Decimal(2) * Decimal(math.pi), 6)
print(menseki,enshu)

Submission status: Accepted

Solution code:
#coding:utf-8
import math

r = float(input())
pi =math.pi
men = (r**2)*pi
syu = 2*r*pi

print("{0:.5f} {1:.5f}".format(men,syu))

Submission status: Accepted

Solution code:
import math

r = float(input())
S = r * r * math.pi
L = 2 * math.pi * r
print('{0:f} {1:f}'.format(S, L))

Submission status: Accepted

Solution code:
num = float(input())
area = num*num*3.141592653589
circle = 3.141592653589*(num*2)
print(area,circle)

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589793
print(pi * r**2, pi * r*2)

Submission status: Accepted

Solution code:
import math
r = float(input())
s=r**2 * math.pi
l=r*2*math.pi
print(s,l)

Submission status: Accepted

Solution code:
r = float(input())
print("{0:.5f}".format(r ** 2 * 3.141592653589), "{0:.5f}".format(r * 2 * 3.141592653589))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
r = float(input().strip())
p = 3.141592653589793238
m = r * r * p
l = 2 * r * p
print("{0:.6f} {1:.6f}".format(m,l))

Submission status: Accepted

Solution code:
#!/usr/bin/python
import math
r = float(input())

print("{0:5f} {1:5f}".format(r ** 2 * math.pi, 2 * r * math.pi))

Submission status: Accepted

Solution code:
pi = 3.14159265358979
r = float(input())
print("{0:.6f}".format(r*r*pi),"{0:.6f}".format(2*r*pi))

Submission status: Accepted

Solution code:
import math

r = float(input())
print(
    math.pow(r, 2) * math.pi,
    r * 2 * math.pi
)

Submission status: Accepted

Solution code:
import math

r = float(input())
m = r ** 2 * math.pi
l = r * 2 * math.pi

print('{:.6f} {:.6f}'.format(m, l))

Submission status: Accepted

Solution code:
import math
r=float(input())
print(r**2*math.pi,r*2*math.pi)

Submission status: Accepted

Solution code:
import math
r = float(input())
pi=math.pi
s =( r ** 2 ) * pi                                                          
l = 2 * r * pi
print (s,l)

Submission status: Accepted

Solution code:
from math import pi

a = float(input())
s = round(pi * (a ** 2), 11)
l = round(2 * pi * a, 11)
print(s, l)

Submission status: Accepted

Solution code:
import math                                                             
r = float(input())
pi=math.pi
s =( r ** 2 ) * pi
l = 2 * r * pi
print (s,l)

Submission status: Accepted

Solution code:
import math
r=float(input())
a=r*r*math.pi
b=2*r*math.pi
print(a,b)

Submission status: Accepted

Solution code:
#! python3

import math

r = float(input())

print('%.10f %.10f' % (math.pi * r * r, 2*math.pi*r))

Submission status: Accepted

Solution code:
import math
r = float(input())

area = r * r * math.pi
length = r * 2 * math.pi

print("{0:.6f}".format(area),end=' ')
print("{0:.6f}".format(length))

Submission status: Accepted

Solution code:
ci = 3.14159265359
n = float(input())
print('{0:f} {1:f}'.format(n*n*ci, (n+n)*ci))

Submission status: Accepted

Solution code:
r = float(input())
import math

area = math.pi * r * r
circumference = 2 * math.pi * r
print ("%f %f"%(area, circumference))

Submission status: Accepted

Solution code:
import math
r=float(input())
print('{:.5f}'.format(r*r*math.pi),'{:.5f}'.format(2*r*math.pi))

Submission status: Accepted

Solution code:
import math

r = float(input())
area = math.pi * r * r
circumference = 2 * math.pi * r
print(area, circumference)

Submission status: Accepted

Solution code:
import math

r = float(input())
print('{0} {1}'.format(math.pi*r**2,2*math.pi*r))

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%.6f %.6f" % (math.pi * r*r, 2 * math.pi * r))

Submission status: Accepted

Solution code:
import math
r = float(input())
print(('%0.5f' % (math.pi*r**2)) + " " + ('%0.5f' % (2*math.pi*r)))

Submission status: Accepted

Solution code:
from math import pi

r = float(input())
print( "{0:.6f} {1:.6f}".format( pi*r*r, 2*pi*r ) )

Submission status: Accepted

Solution code:
r = eval(input())
pi = 3.14159265358979323846
print(pi*r*r,2*pi*r)

Submission status: Accepted

Solution code:
import math
r = float(input())
p = math.pi
print(round(r*r*p,6),round(2*r*p,6))

Submission status: Accepted

Solution code:
import math
r=float(input())
l=math.pi*r*2
s=(r**2)*math.pi
print("{1:6f} {0:6f}".format(l, s))

Submission status: Accepted

Solution code:
import math
r=float(input())
c = r * r *math.pi
cf = r *2 *math.pi
print("{0:.5f} {1:.5f}".format(c,cf))

Submission status: Accepted

Solution code:
x=float(input())
y=3.141592653589
a=x*x*y
b=(x+x)*y
print("{0:.6f} {1:.6f}".format(a, b))

Submission status: Accepted

Solution code:
import math
r = float(input(""))
S = r * r * math.pi
l = 2 * math.pi * r
print("{0:.5f} {1:.5f}".format(S, l))

Submission status: Accepted

Solution code:
### 20.07.2017
import math
r = float(input())
print('%03.6f' % (r*r*math.pi), '%03.6f' % (2*r*math.pi))

Submission status: Accepted

Solution code:
import math

r = float(input())

s = r*r*math.pi
v = 2*math.pi*r

print("{:f} {:f}".format(s, v))

Submission status: Accepted

Solution code:
import math

r = float(input())

s = r**2*math.pi
v = 2*math.pi*r

print("{:f} {:f}".format(s, v))

Submission status: Accepted

Solution code:
import math

r = float(input())

s = r*r*math.pi
v = 2*math.pi*r

S = round(s, 6)
V = round(v, 6)

print(S, V)

Submission status: Accepted

Solution code:
from math import pi
r = float(input())
S = "{:05f}".format(pi * pow(r,2))
l = "{:05f}".format(2*pi*r)
print(str(S)+" "+str(l))

Submission status: Accepted

Solution code:
import math
r=float(input())
s=r**2*math.pi
l=2*r*math.pi
print("{0:5f} {1:5f}".format(s,l))

Submission status: Accepted

Solution code:
pi = 3.141592653589
r = float(raw_input())
print("%.5f %.5f" % (pi * r * r, 2 * pi * r))

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589
print("{:.7f} {:.7f}".format(r**2*pi, r*2*pi))

Submission status: Accepted

Solution code:
import math
r = float(raw_input())
print('%.5f %.5f' % (r*r*math.pi, 2*math.pi*r))

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.14159265358979323846264338
print("%.7f %.7f" % (pi*r*r, 2*pi*r))

Submission status: Accepted

Solution code:
import math
r = float(input())
print("{0} {1}".format(r**2*math.pi,2*math.pi*r))

Submission status: Accepted

Solution code:
r = float(input())
area = r**2 * 3.141592653589
enshuu = r * 2 * 3.141592653589
print("{0:.6f} {1:.6f}".format(area, enshuu))

Submission status: Accepted

Solution code:
import math
r = float(input())
print((r**2)*math.pi,r*2*math.pi)

Submission status: Accepted

Solution code:
r = float(input())
p = 3.141592653589
a = r * r * p
b = 2 * r * p
print("{0:.6f} {1:.6f}".format(a,b))

Submission status: Accepted

Solution code:
import math
r = float(input())
s=r**2*math.pi
l=2*r*math.pi
print('{:.6f} {:.6f}'.format(s,l))

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.14159265359
print("{:f}".format(pi*r**2),"{:f}".format(2*pi*r))

Submission status: Accepted

Solution code:
import math
r = float(input())
print('%.8f %.8f' % ((math.pi * r * r), (2 * math.pi * r)))

Submission status: Accepted

Solution code:
# Aizu Problem ITP_1_4_B: Circle
#
import sys, math, os

# read input:
PYDEV = os.environ.get('PYDEV')
if PYDEV=="True":
    sys.stdin = open("sample-input.txt", "rt")

pi = math.pi
r = float(input())
print("%.6f %.6f" % (pi * r**2, 2 * pi * r))

Submission status: Accepted

Solution code:
import math
r=float(input())
print("{0:8f} {1:8f}".format(math.pi*r*r,r*2*math.pi))

Submission status: Accepted

Solution code:
import math

r= input()
s=math.pi*float(r)**2
l=2*math.pi*float(r)

print "%f %f" %(s,l)

Submission status: Accepted

Solution code:
import math

r = input()
S = r * r * math.pi
L = 2 * math.pi * r

print('{:.15f} {:.15f}'.format(S, L))

Submission status: Accepted

Solution code:
import math
pi = math.pi

x = float(input())

a = pi*x*x
b = pi*(x+x)

print("{0:0.6f} {1:0.6f}".format(a, b))

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.14159265358979

l = 2 * pi * r
s = pi * r**2

print("{0} {1}".format(s, l))

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.14159265359
a = r*r*pi
c = 2*r*pi
print("{0:0.7f} {1:0.7f}".format(a, c))

Submission status: Accepted

Solution code:
import math
r = float(input())
print '%f %f' % (r*r*math.pi,r*2*math.pi)

Submission status: Accepted

Solution code:
import math
r = float(input()) 
print(r ** 2 * math.pi, r * 2 * math.pi)

Submission status: Accepted

Solution code:
import math
r = float(input())
print("{:.6f} {:.6f}".format(math.pi * r *r, 2 * math.pi * r))

Submission status: Accepted

Solution code:
import math
pi = math.pi

r = float(input())
S = r ** 2 * pi
syu = 2 * pi * r

print(str("{0:.6f}".format(S)) + ' ' + str("{0:.6f}".format(syu)))

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%f %f" % (math.pi * r**2, math.pi * r * 2))

Submission status: Accepted

Solution code:
import math
r=float(input())
print(math.pi*r**2, math.pi*2*r)

Submission status: Accepted

Solution code:
from math import pi
r=float(input())
print("{0:.5f} {1:.5f}".format(pi*r*r, 2*pi*r))

Submission status: Accepted

Solution code:
from math import pi

r = float(input())
print("{:.6f} {:.6f}".format(pi*r*r, 2*pi*r))

Submission status: Accepted

Solution code:
import math

r = float(input()) 
print(r ** 2 * math.pi, r * 2 * math.pi)

Submission status: Accepted

Solution code:
import math
r = float(input())
cc = r * r * math.pi
ab = (r + r) * math.pi
print("%.6f"%(cc), "%.6f"%(ab))

Submission status: Accepted

Solution code:
import math

a=float(input())

S=round(a*a*math.pi,6)
R=round(a*2*math.pi,6)

print(S,R)

Submission status: Accepted

Solution code:
import math
r=float(input())
print("{0:.6f}".format(r*r*math.pi),"{0:.6f}".format(2*r*math.pi))

Submission status: Accepted

Solution code:
from math import pi
r = float(input())
print(pi*r**2, 2*pi*r)

Submission status: Accepted

Solution code:
import math

my_value = float(input())

print("{} {}".format(pow(my_value, 2) * math.pi, 2 * math.pi * my_value))

Submission status: Accepted

Solution code:
r = float(input())
Pi = 3.141592653589
print('{0:5f} {1:5f}'.format(r ** 2 * Pi, r * 2 * Pi))

Submission status: Accepted

Solution code:
import math
r = float(input())
print(math.pi * r**2, 2*math.pi*r)

Submission status: Accepted

Solution code:
import math
r = float(input())

print("{0:.6f}".format(math.pi * r**2), "{0:.6f}".format(2 *math.pi * r))

Submission status: Accepted

Solution code:
# (c) midandfeed
import math
r = float(input())
area = math.pi * (pow(r,2))
circ = math.pi * 2 * r
print("{} {}".format(area, circ))

Submission status: Accepted

Solution code:
import math
r = float(input())
pi = math.pi
print ("%f %f" % (r*r*pi, 2*r*pi))

Submission status: Accepted

Solution code:
r = float(input())
import math
print("%.6f"%(math.pi * r * r),"%.6f"%(math.pi * 2 * r))

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%f %f" %((math.pi * r * r), (2 * math.pi * r)))

Submission status: Accepted

Solution code:
import math
r = float(input())
a = r*r*math.pi
b = 2*r*math.pi
print(a, b)

Submission status: Accepted

Solution code:
import math

r = float(input())

pi = math.pi

a = pi*r**2
b = 2*pi*r

print(round(a,6),round(b,6))

Submission status: Accepted

Solution code:
import decimal
import math
r = decimal.Decimal(input())
print('%lf %lf' % ((r ** 2) * decimal.Decimal(math.pi), 2 * r * decimal.Decimal(math.pi)))

Submission status: Accepted

Solution code:
import math
r = float(input())
print('%lf %lf' % ((r ** 2) * math.pi, 2 * r * math.pi))

Submission status: Accepted

Solution code:
import math

r = float(raw_input())
print "{:.6f} {:.6f}".format(math.pi * r * r, 2 * math.pi * r)

Submission status: Accepted

Solution code:
import math
p = math.pi

r = float(input())

c = 2 * r * p
s = r ** 2 * p

print(s, c)

Submission status: Accepted

Solution code:
import math

r = float(input())

circle = r * r * math.pi
arch = 2 * r * math.pi

print("{0:.6f} {1:.06f}".format(circle,arch))

Submission status: Accepted

Solution code:
a = float(input())
import math
print("{:.5f} {:.5f}".format(a ** 2 * math.pi, 2 * a * math.pi))

Submission status: Accepted

Solution code:
from math import pi

r = float(input())
area = r**2 * pi
length = 2 * r * pi
print("{:.6f} {:.6f}".format(area, length))

Submission status: Accepted

Solution code:
import math 
r = float(input())
print(r*r*math.pi, 2*r*math.pi)

Submission status: Accepted

Solution code:
#import math
# a,b =[int(i) for i in input().split()]

r=float(input())
#r=2
pi=3.141592653589793
A=[pi*r**2,2*pi*r]
print("{0:.5f} {1:.5f}".format(A[0],A[1]))

Submission status: Accepted

Solution code:
r = float(input())
import math
print('%.6f %.6f' % (math.pi * (r ** 2), math.pi * r * 2))

Submission status: Accepted

Solution code:
import math
r=float(input())
s=math.pi
print("%.6f"%(r*r*s),"%.6f"%(2*r*s))

Submission status: Accepted

Solution code:
import math

a = float(input())

c = a*a * math.pi
r = (a+a) * math.pi

print (float(c),float(r))

Submission status: Accepted

Solution code:
import math
def main():
    r = float(input())
    s = math.pi * r ** 2
    l = r * 2 * math.pi
    print(format(s, ".6f"), format(l, ".6f"))


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import math

r = float(raw_input())

menseki = r ** 2 * math.pi
shuu = 2 * r * math.pi

print("{:.6f} {:.6f}".format(menseki, shuu))

Submission status: Accepted

Solution code:
import math as m
a=float(input())
print('%.6f %.6f'%(a**2*m.pi, 2*m.pi*a))

Submission status: Accepted

Solution code:
import math

def main():
    r = float(input())
    pi = math.pi
    print('%f %f' % (pi * math.pow(r,2), 2 * pi * r))
    
main()

Submission status: Accepted

Solution code:
line = input()
r = float(line)

import math

print('%f %f' % (r*r*math.pi, 2*r*math.pi) )

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_4_B&lang=jp

"""
import sys
from sys import stdin
from math import pi
input = stdin.readline


def main(args):
    r = float(input())
    print('{:.6f} {:.6f}'.format(r**2*pi, 2*pi*r))


if __name__ == '__main__':
    main(sys.argv[1:])