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 = float(input())
men = r*r*math.pi
syuu = 2*r*math.pi

print("%.10f %.10f" %(men, syuu))

Submission status: Accepted

Solution code:
import math# coding: utf-8
# Your code here!
r=float(input())
print(r**2*math.pi,2*r*math.pi)

Submission status: Accepted

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

print("%.7f %.7f" % (r*r*pi, r*2*pi))

Submission status: Accepted

Solution code:
#!/usr/bin/python3
# coding: utf-8
import math
r = float(input())
a = (r **2)*math.pi
b = r * 2 * math.pi
print('{}  {:6f}'.format(a,b))

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())
x=r*r*math.pi
y=2*r*math.pi
print(f'{x:.6f} {y:.6f}')

Submission status: Accepted

Solution code:
r=float(input())
pai=3.141592653589
print(f'{r*r*pai:.5f} {r*2*pai:.5f}')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
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:
# coding: utf-8
# Your code here!
import math
a=float(input()) 
S=a*a*math.pi
l=2*a*math.pi

print(f"{S:.6f}",f"{l:.6f}")

Submission status: Accepted

Solution code:
r=float(input())

import math
x=r**2*math.pi
y=r*2*math.pi

print(f"{x:.06f} {y:.06f}")

Submission status: Accepted

Solution code:
r=float(input())

import math
x=r**2*math.pi
y=r*2*math.pi

print(f"{x:.06f} {y:.06f}")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import *
import math

def circle(x):
    return Decimal(math.pi * x ** 2).quantize(Decimal('.00001')), \
           Decimal(2 * math.pi * x).quantize(Decimal('.00001'))



r = float(input())
area, length = circle(r)
print(area, length)

Submission status: Accepted

Solution code:
import math

r = float(input())

num1 = (r**2)*math.pi
num2 = 2*r*math.pi

print(num1,num2,sep=' ')

Submission status: Accepted

Solution code:
r=float(input())
p=r*r*3.141592653589
l=r*2*3.141592653589
print(f"{p:.6f} {l:.6f}")

Submission status: Accepted

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

Submission status: Accepted

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

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:
import math
r = float(input())
print('{:.6f}'.format(r*r*math.pi),'{:.6f}'.format(r*2*math.pi))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
r = float(input())
S = math.pi * r ** 2
L = math.pi * r * 2

print(f'{S:.5f} {L:.5f}')

Submission status: Accepted

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

Submission status: Accepted

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

print(f"{s:.06f} {l:.06f}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r= float(input())

a = math.pi*r*r

b = 2*math.pi*r

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

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

Submission status: Accepted

Solution code:
import math

r=float(input())

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

print("{:.6f}".format(S))
print("{:.6f}".format(L))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r=float(input())

print(f'{r**2*math.pi:.6f} {2*r*math.pi:.6f}')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
r = float(input())
S = r**2 * 3.141592653589
L = 2 * 3.141592653589 * r
print(f"{S: .5f} {L: .5f}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
r=input()

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

print('%f %f'%(area,length))

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=float(input())
print(f"{a*a*3.141592653589:.6f} {2*a*3.141592653589:.6f}")

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

import math

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r = float(input())

a=3.141592653589

b=r*r*a
c=2*a*r

print(f'{b:2.06f} {c:2.06f}')

Submission status: Accepted

Solution code:
# coding: utf-8
import math
# Your code here!
r = float(input())

m = float(r*r*math.pi)
e = float(2*r*math.pi)

print(m,e)

Submission status: Accepted

Solution code:
import math

r = float(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

print(f"{w:.5f} {l:.5f}")

Submission status: Accepted

Solution code:
import math

r = float(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r=float(input())
a=r*r*3.141592653589
b=2*r*3.141592653589
print(f"{a} {b}")

Submission status: Accepted

Solution code:
r=float(input())
s=r**2*3.141592653589
l=2*r*3.141592653589
print(f"{s:.6f} {l:.6f}")

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
r=float(input())
s=math.pi*r**2
k=2*math.pi*r
print(f"{s:.5f} {k:.5f}")

Submission status: Accepted

Solution code:

r=float(input())

a=r*r*3.141592653589
b=2*r*3.141592653589

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

Submission status: Accepted

Solution code:
r=float(input())
d=3.141592653589*r**2
l=2*3.141592653589*r
print(f'{d:.06f} {l:.06f} ')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

area = '{:.6f}'.format(r*r*math.pi)
length = '{:.6f}'.format(2*r*math.pi)

print(area+' '+length)

Submission status: Accepted

Solution code:
r = float(input())
s = 3.141592653589 * r*r
l = 2*3.141592653589 * r
print(s, l)

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:
r = float(input())
print(f"{r*r*3.141592653589:.6f}",f"{2*r*3.141592653589:.6f}")

Submission status: Accepted

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

Submission status: Accepted

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

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

line = "{0:.6f} {1:.6f}".format(w,l)
print(line)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

Solution code:
r=float(input());s=r*3.14159265359;print(s*r,2*s)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
Input = float(input())
Area = Input**2*3.141592653589
Circumference = Input*2*3.141592653589
print('{0:.6f} {1:.6f}'.format(Area,Circumference))

Submission status: Accepted

Solution code:
import math


def test_case():
    r = float(input())
    area = float(r**2 * math.pi)
    circum = float(2 * r * math.pi)
    print("{0:.8f} {1:.8f}".format(area, circum))


if __name__ == "__main__":
    test_case()

Submission status: Accepted

Solution code:
import math

r = float(input())

area = math.pi * r * r

circumference = 2 * math.pi * r

print(str(area) +' ',end='')
print(str(circumference))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = float(input())

m = a*a*3.141592653589
s = a*2*3.141592653589

print(f'{m:.06f} {s:.06f}')

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:
# coding: utf-8
# Your code here!
import math

r=float(input())

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

print(f'{s:.6f} {l:.6f}')

Submission status: Accepted

Solution code:
p = 3.1415926535897
r = float(input())
print(p*r**2, 2*p*r)

Submission status: Accepted

Solution code:
r = float(input())
pai = 3.141592653589
S = r*r*pai
l = 2*pai*r
print(f"{S:.6f} {l:.6f}")

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589
S = r*r*pi
L = 2*r*pi

print(float(S), float(L))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

import math

r = float(input())
S = r * r * math.pi
C = 2 * r * math.pi
print('{:.15}'.format(S), '{:.15}'.format(C))

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

Solution code:
import math
r=float(input())
m=math.pi
x=2*r*m
y=r*r*m

print(f'{y:.6f}', f'{x:.6f}')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

print('{} {}'.format(area, circumference))

Submission status: Accepted

Solution code:
r = float(input())
print(str(r**2 * 3.141592653589) +" " + str(r * 2 * 3.141592653589))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    r = float(input())
    pi = 3.141592653589
    ca = r ** 2 * pi
    cl = 2 * r * pi
    print(f"{ca:.7f} {cl:.7f}")


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import math

r = float(input())


def area_cir_list(r):
    return f'{(r ** 2) * math.pi:.6f} {r * 2 * math.pi:.6f}'


x = area_cir_list(r)
print(x)

Submission status: Accepted

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

Submission status: Accepted

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

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

print(a,b)

Submission status: Accepted

Solution code:
r = float(input())
S = r * r * 3.141592653589
M = 2 * r * 3.141592653589
print(S, M)

Submission status: Accepted

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

print("%.6f %.6f"%(r*r*pi,r*2*pi))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

X = (r * r) * math.pi
Y = (r + r) * math.pi

print("%.6f %.6f"%(X, Y))

Submission status: Accepted

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

Submission status: Accepted

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

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


def main():
    r = float(input())
    area = math.pi * (r ** 2)
    circumference = 2 * math.pi * r
    print(f"{area:.5f} {circumference:.5f}")
    return 0


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:


r=float(input())
S=r**2*3.141592653589
l=2*r*3.141592653589
print(f"{S:.6f} {l:.6f}")

Submission status: Accepted

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

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

Submission status: Accepted

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

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

print(f"{a} {b}")

Submission status: Accepted

Solution code:
import math

r=float(input())

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

Submission status: Accepted

Solution code:
r = float(input())
area = r ** 2 * 3.141592653589
outline = r * 2 * 3.14159265358
print(f'{area} {outline}')

Submission status: Accepted

Solution code:
r = float(input())
import math
print('{:.6f}'.format((r**2)*math.pi),'{:.6f}'.format(2*r*math.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(f'{math.pi*r*r:5f} {2*math.pi*r:5f} ')

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

Solution code:
import math
r=float(input())
if 0<r<10000:
   print(f'{r*r*math.pi:.6f} {2*r*math.pi: .6f}')
else:
    pass

Submission status: Accepted

Solution code:
import math

r = float(input())
print(format(math.pi * (r ** 2), '.8f'), format(2 * math.pi * r, '.8f'))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

c = 2 * pi * r
a = r * r * pi
print('{:.6f} {:.6f}'.format(a,c))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from math import pi


r=float(input())


a=float(r*r*pi)
b=float(2*pi*r)

print('{:.6f}'.format(a),end=' ')
print('{:.6f}'.format(b))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r=float(input())
p=3.141592653589
print(f'{r*r*p:9.6f} {2*p*r:9.6f}')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
import math 
p=math.pi
r=float(input())
print(r*r*p, r*2*p)

Submission status: Accepted

Solution code:
import math

r = float(input())

p = math.pi

s = p*r*r

l = 2 * p * r

print(s,l)

Submission status: Accepted

Solution code:
r = float(input())
s = r*r*3.141592653589
t = 2*r*3.141592653589
print(f"{s:.6f} {t:.6f}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

Submission status: Accepted

Solution code:
import math


def circle(r):
    return r * r * math.pi, 2 * r * math.pi


if __name__ == '__main__':
    r = float(input())
    s, d = circle(r)
    print('{:.5f}'.format(s), '{:.5f}'.format(d))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())
print(f"{math.pi*r*r:.5f} {math.pi*r*2.0:.5f}")

Submission status: Accepted

Solution code:
from math import pi

r = float(input())


def circle_length(r):
    return 2 * pi * r


def circle_area(r):
    return pi * r ** 2


length = round(circle_length(r), 6)
area = round(circle_area(r), 6)

print(area, length)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math


def mennseki(r):
    S = r ** 2 * math.pi
    return S


def ennsyuu(r):
    R = 2 * r * math.pi
    return R


r = float(input())
print(mennseki(r), ennsyuu(r))

Submission status: Accepted

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

print("%.10f %.10f"%(r*r*math.pi, r*math.pi*2.0))

Submission status: Accepted

Solution code:
import math

r = float(input())

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

print("{:.06f} {:.06f}".format(area, l))

Submission status: Accepted

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

Submission status: Accepted

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


area =round(r**2*math.pi,6)
circle=round(2*r*math.pi,6)
print(area,end=' ')
print(circle)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math

r = float(input())


def area(x):
    return x ** 2 * math.pi


def circum(x):
    return x * 2 * math.pi


S = area(r)
R = circum(r)

print(f"{S:.6f} {R:.6f}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = float(input())
pi = 3.141592653589
print(f"{a * a * pi} {a * 2 * pi}")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

print(f"{s:.6f} {l:.6f}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

print('%.5f %.5f' %(area, circum))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())
print('{:.05f}'.format(r * r * math.pi), '{:.05f}'.format(r * 2 * math.pi))

Submission status: Accepted

Solution code:
r = float(input())

pie = 3.141592653589

print('{:.6f} {:.6f}'.format(r ** 2 * pie, 2 * r * pie))

Submission status: Accepted

Solution code:
r = float(input())

pi=3.1415926535897932384626433832795

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r=float(input())

S=r*r*3.141592653589

l=2*r*3.141592653589

print(f"{S:.6f} {l:.6f}")

Submission status: Accepted

Solution code:
i = input()
x = float(i) * float(i) * 3.141592653589
y = (float(i) + float(i)) * 3.141592653589
print("{:.6f}".format(x) + " " + "{:.6f}".format(y))

Submission status: Accepted

Solution code:
r = float(input())

area = '{:.5f}'.format(r * r * 3.141592653589)
length = '{:.5f}'.format(2 * r * 3.141592653589)

print(area, length)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
PI=3.141592653589
r=float(input())
a=r*r*PI
l=2*r*PI
print(a,l)

Submission status: Accepted

Solution code:


import math
r=float(input())

R=2.0*r*math.pi
S=r*r*math.pi
print("%.10f %.10f"%(S,R))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r = float(input())

menseki = r * r * 3.141592653589
ensyuu = 2 * r * 3.141592653589

print(menseki , ensyuu)

Submission status: Accepted

Solution code:
import math
base = input("")
a = float(base)

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r = float(input())
print(round(r*r*3.141592653589,6),round(r*2*3.141592653589,6))

Submission status: Accepted

Solution code:
import math
r = float(input())
s = r * r * math.pi
c = 2 * r * math.pi
print(format(s, '0.6f'), format(c, '0.6f'))

Submission status: Accepted

Solution code:
import math

pi = math.pi

r = float(input())

S = r * r * pi
R = 2 * pi * r

print(S, R)

Submission status: Accepted

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

Submission status: Accepted

Solution code:

r = float(input())
surface = r**2*3.141592653589
syuu = 2*3.141592653589*r
print(surface,syuu)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r = float(input())
s = 3.141592653589 * r * r
l = 2 * 3.141592653589 * r
print(s, l)

Submission status: Accepted

Solution code:
import math
r = float(input())
area = r*r*math.pi
length = 2*r*math.pi
print (f"{area:.5f} {length:.5f}")

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

Solution code:
r = float(input())

import math

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

print(S, L)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())
pi = math.pi

x = r*r*pi
y = 2*r*pi

print("{:.6f}".format(x), "{:.6f}".format(y))

Submission status: Accepted

Solution code:
import math

r = float(input())

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

Submission status: Accepted

Solution code:
import math
pi = math.pi

r = float(input())

s = pi*(r**2)
l = 2*pi*r

print(s,l)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r=float(input())
p=3.141592653589
print(r*r*p,r*2*p)

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589
area = pi * r ** 2
length = 2 * pi * r
print(f'{area:.5f} {length:.5f}')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

print(area, diameter)

Submission status: Accepted

Solution code:
import sys
r=input()
S=r*r*3.141592653589
L=2*r*3.141592653589
print(str('{:.06f}'.format(S))+' '+str('{:.06f}'.format(L)))

Submission status: Accepted

Solution code:
r=float(input())
pi=3.141592653589
print(r*r*pi,2*r*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:
r = float(input())
pai = 3.141592653589

S = pai*r*r
L = 2*pai*r
print("{0:.5f} {1:.5f}".format(S, L))

Submission status: Accepted

Solution code:
import math

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

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

Submission status: Accepted

Solution code:
import sys
import math
r = float(sys.stdin.readline().rstrip())
print("%.10f %.10f"%(math.pi*r**2,2*math.pi*r))

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
r= float(input())
import math
area=r*r*math.pi
circle=2*r*math.pi

print(area,circle)

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())

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

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

Submission status: Accepted

Solution code:
r = float(input())
s = r ** 2 * 3.141592653589
l = r * 2 * 3.141592653589
print(f'{s:.6f} {l:.6f}')

Submission status: Accepted

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

Submission status: Accepted

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