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())
print('{} {}'.format(r*r*math.pi, 2*r*math.pi))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

import fileinput
import math

def main():

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

    print('%lf %lf' % (area, circum))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import math

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

print('{0:.5f} {1:.5f}'.format(area, circle))

Submission status: Accepted

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

print("%5f" % (a),"%5f" % (c))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

PI = math.pi

r = float(input())

area = float(PI * r * r)
circumference = float(2 * PI * r)
print("{} {}".format(area, circumference))

Submission status: Accepted

Solution code:
import math


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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

def main():
    n = float(input())

    area = (n * n) * math.pi
    measure = (n * 2) *math.pi

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
# coding:utf-8
import math
r = input()
print "%f %f\n" % (r * r * math.pi,2.0 * r * math.pi)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=float(input())
b=a*3.14159265358979
print(a*b,2*b)

Submission status: Accepted

Solution code:
a=float(input())
b=a*3.141592653589
print(a*b,2*b)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from math import pi

instr = input()
instrSp = instr.split()

a = float(instrSp[0])

print("{a:5f} {b:5f}".format(a=a * a * pi, b=2 * a * pi))

Submission status: Accepted

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

Submission status: Accepted

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

print('{} {}'.format(a,c))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = raw_input()
r = float(x)
s = r * r * 3.14159265359
l = 2 * r * 3.14159265359
print "%.6f %.6f" % (s,l)

Submission status: Accepted

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

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:.5f}".format(r*r*math.pi))
print("{0:.5f}".format(2*r*math.pi))

Submission status: Accepted

Solution code:
from math import pi

def circle(r):
    print(r*r*pi, 2*pi*r)
    return 0

if __name__ == "__main__":
    r = input()
    ret = circle(float(r))

Submission status: Accepted

Solution code:
#Computation - Circle

from math import pi

r=float(input())
area=r*r*pi
circumference=2*pi*r

print("%.6f" %(area) +" "+"%.6f" %(circumference))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = float(input())
print (a ** 2.0 * 3.14159265359, a * 2.0 * 3.14159265359)

Submission status: Accepted

Solution code:
#coding:utf-8
import math

r = float(input())

print(str(format(r ** 2 * math.pi, ".6f")) + " " + str(format(r * 2 * math.pi, ".6f")))

Submission status: Accepted

Solution code:
pi=3.14159265358979
r=float(input())
S='{0:80.10f}'.format(pi*r*r)
L='{0:80.10f}'.format(pi*r*2)
print(S,L)

Submission status: Accepted

Solution code:
#!/usr/bin/python3
# -*- coding: utf-8 -*-

import sys
import math

r = float(sys.stdin.readline())
area = round(math.pi * (r**2), 6)
circum = round(2 * r * math.pi, 6)
print(area, circum)

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

while True:
    r = float(input())
    if r >= 0 and r <= 10000:
        break
area = r*r*math.pi
circumference = 2*r*math.pi
print('{0} {1}' .format(area, circumference))

Submission status: Accepted

Solution code:
import math

r=float(input())

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

print(s,l,sep=" ")

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())
pi = 3.14159265359
a = r * r * pi
l = r * 2 * pi
print('{:f} {:f}'.format(a, l))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
r = float(input())  #入力値が実数の時
print("{0} {1}".format(r**2 * math.pi, 2 * r * math.pi))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python

import math

if __name__ == '__main__':
    r = float(raw_input())
    print '{:.6f} {:.6f}'.format(r**2*math.pi, 2*r*math.pi)

Submission status: Accepted

Solution code:
import math

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

a=r*r*p
b=2*r*p

c=round(a,5)
d=round(b,5)

print(str(c)+" "+str(d))

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589793
A = float(pow(r, 2) * pi)
S = float(2 * pi * r)
print("{0:.8f}".format(A) + ' ' + "{0:.8f}".format(S))

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:
r = float(input())
import math
S = "%.6f"%(r ** 2 * math.pi)
L = "%.6f"%(2 * r * math.pi)
print(str(S) + " " + str(L))

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:
import math
x = input()
r = float(x)

menseki = "{0:.6f}".format(r ** 2 * math.pi)
enshu = "{0:.6f}".format(r * 2 * math.pi)

print(menseki, enshu)

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

area = math.pi * r * r
circum = 2 * math.pi * r
print(str("{0:.6f}".format(area)) + " " + str("{0:.6f}".format(circum)))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding: utf-8

r = float(input())
s = round(r**2*3.141592653589, 6)
l = round(2*r*3.141592653589, 6)
print(str(s) + " " + str(l))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from math import pi

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

print(area, circumference, sep = ' ')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import math
n = list(map(float, input().split()))
print('{0:.6f} {1: .6f}'.format(n[0] * n[0] * math.pi, n[0] * 2 * math.pi))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
pi=math.pi
r = float(input())
print('%f %f' % (r*pi*r, 2*r*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:
pi = 3.14159265359 
r = float(input()) 
area = r*r*pi 
length = 2*r*pi 

print('{:.6f}'.format(area),'{:.6f}'.format(length))

Submission status: Accepted

Solution code:
r = float(input())
x = 3.141592653589793238462643383279
print('{:.7f}'.format(r * r * x), '{:.7f}'.format(2 * r * x))

Submission status: Accepted

Solution code:
from math import pi

r = float(input())

s = pi * r * r

p = 2 * pi * r

print(s,p)

Submission status: Accepted

Solution code:
from math import pi

r = float(input())

s = pi * (r ** 2)

p = 2 * pi * r

print(s,p)

Submission status: Accepted

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

print('%.7f %.7f'%(v,s))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

print("{} {}".format(S, L))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#! python3
# circle.py

import math

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

Submission status: Accepted

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

s = r*r*pi
x = 2*r*pi

print("{} {}".format(s,x))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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 ("%f %f" %(math.pi*r*r, math.pi*2*r))

Submission status: Accepted

Solution code:
#x = [int(i) for i in input().split()]
x = float(input())
print(3.141592653589793 * x**2, 3.141592653589793 * 2* x)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
from math import pi

r = float(input())
area = lambda x: r * r * pi
length = lambda x: r * 2 * pi

print("{} {}".format(area(r), length(r)))

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())
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
r=float(input())
x=math.pi*r*2
y=math.pi*r**2
print("{0} {1}".format(y,x))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
a = float(input())
circle = 2.0*a*math.pi
area = a*a*math.pi
print("{} {}".format(area, circle))

Submission status: Accepted

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

r = input()

print('%f %f' % (float(r)*float(r)*3.14159265359,float(r)*3.14159265359*2.0))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

print('{:.8f}'.format(area) + ' ' + '{:.8f}'.format(circ))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

if __name__ == '__main__':
    r = float(sys.stdin.read())
    pi = 3.14159265359
    print "%.5f %.5f" % (pi * r * r, 2 * pi * r)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
from math import pi

r = float(input())

# 面積
circle_area = r * r * pi
# 円周
circumference = 2.0 * r * pi

print("{} {}".format(circle_area, circumference))

Submission status: Accepted

Solution code:
from math import pi

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

Submission status: Accepted

Solution code:
import math

r=float(input())
print(str(r*r*math.pi)+" "+str(r*2.0*math.pi))

Submission status: Accepted

Solution code:
# Circle

# Import math.py
from math import pi

radius = float(input())
r = radius

area = r * r * pi
circumference = 2 * r * pi
print(area, end = " ")
print(circumference)

Submission status: Accepted

Solution code:
import math

r = float(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
def main():
    r = float(input())
    area = round(math.pi * r**2,5)
    circumference = round(2 * math.pi * r, 5)

    print(area, circumference)

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
def solve(line):
    r=line[0]
    area = round((r*r*math.pi),6)
    circumference = round((2*r*math.pi),6)
    print('{0} {1}'.format(area,circumference))



    
def answer():
    line = list(map(float,input().split()))
    solve(line)

if __name__ =='__main__':
    answer()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

c = 2*math.pi*r
s = math.pi*(r**2.0)

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

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:
from math import pi
r = float(raw_input())
print "%.5f %.5f" % (pi*r*r, 2*pi*r)

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# coding: utf-8
import math

def main():
	r = float(raw_input())
	print "%.6f %.6f" % (math.pi * r * r, math.pi * 2 * r)

if __name__ == '__main__':
	main()

Submission status: Accepted

Solution code:
import sys
for line in sys.stdin:
    PI = 3.14159265358979
    a = float(line)
    print '%f.8 %f.8' %(PI*a**2, 2*PI*a)

Submission status: Accepted

Solution code:
a = float(raw_input())
PI = 3.14159265358979
print '%.8f %.8f' %(PI*a**2, 2*PI*a)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from __future__ import division, print_function
from sys import stdin
from math import pi
r = float(stdin.readline())
print('{:.6f} {:.6f}'.format(pi*r*r, pi*r*2.0))

Submission status: Accepted

Solution code:
import math
import sys
for line in sys.stdin:
    r = float(line.rstrip('\n'))
    print '%f %f' % (math.pi * r**2, 2 * math.pi * r)

Submission status: Accepted

Solution code:
from decimal import Decimal
o = float(raw_input())
print Decimal(o*o*3.141592653589),Decimal(o*2*3.141592653589)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

a = float(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import math
from decimal import Decimal

r = Decimal(sys.stdin.readline())
area = r ** Decimal(2) * Decimal(math.pi)
circumference = r * Decimal(2) * Decimal(math.pi)

print(round(area, 5), round(circumference, 5))

Submission status: Accepted

Solution code:
a = float(input())
p = 3.141592653589
x = a * a * p
y = a * 2 * p
print(x, y)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
PI=3.14159265358979
r=float(input())
print(PI*r*r,PI*2*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:
import math

r = float(input())

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

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

Submission status: Accepted

Solution code:
def main():
    #a, b = map(float, input().split())
    r = float(input())
    pi = 3.141592653589
    print("{:.6f} {:.6f}".format(r*r*pi,2*r*pi))

main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r = float(input())
# 浮動小数点にする
pi = 3.141592653589
# 円周率
print(r * r * pi, 2 * r * pi)
# 円の面積=2(半径)*円周率　円周=直径*円周率

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


def circle():
    radius = float(input())
    area = math.pi * (radius ** 2)
    round = 2 * math.pi * radius
    print(area, round)


circle()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

A = format(math.pi * r ** 2 ,".6f")
S = format(math.pi * r * 2 ,".6f")

print(A,S)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.14159265359
print(pi*r*r, end=" ")
print(2*pi*r)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

Submission status: Accepted

Solution code:
a = float(input())
print(format( 3.141592653589*a*a,'.5f'),format(2*3.141592653589*a,'.5f') )

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(f"{area:.12f} {cir:.12f}")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
pi = math.pi

r = float(input())

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

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(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*r*math.pi,2*r*math.pi)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r=float(input())

s=3.141592653589*r*r
l=2*3.141592653589*r

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())
a1 = r * r * math.pi
a2 = 2 * r * math.pi
print(f'{a1:f}' + ' ' + f'{a2:f}')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

A = format(r * r * math.pi ,'6f') 
B = format(2 * r * math.pi ,'.6f')
print(A,B)

Submission status: Accepted

Solution code:
#入力値を任意の型にする
r = float(input())
pi = 3.1415926535897932384626
#べき乗
s = pi * r ** 2
c = pi * r * 2
print(s , c)

Submission status: Accepted

Solution code:
from math import pi

r=float(input())
S=r*r*pi
L=2*r*pi
print(f"{S:.8f} {L:8f}")

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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