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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

Solution code:
r = float(input())

pi = 3.141592653589793
s = r * r * pi
t = 2 * r * pi

print(s, t)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from math import pi

r = input()

try:
    r = int(r)
except:
    r = float(r)

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())
rs = r * r * math.pi
r_r = 2 * r * math.pi

print(rs, r_r)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

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

Submission status: Accepted

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

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 = r * r * math.pi
b = 2 * r * math.pi

print("{} {}".format(a,b))

Submission status: Accepted

Solution code:
import math

r = float(input())

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

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

Submission status: Accepted

Solution code:
import math
import copy
from copy import deepcopy
import sys
import fractions
# import numpy as np
from functools import reduce
# import statistics
import decimal
import heapq
import collections
import itertools
sys.setrecursionlimit(100001)

# input = sys.stdin.readline
# sys.setrecursionlimit(10**6)

# ===FUNCTION===

def getInputInt():
    inputNum = int(input())
    return inputNum


def getInputListInt():
    outputData = []
    inputData = input().split()
    outputData = [int(n) for n in inputData]

    return outputData


def getSomeInputInt(n):
    outputDataList = []
    for i in range(n):
        inputData = int(input())
        outputDataList.append(inputData)

    return outputDataList


def getSomeInputListInt(n):
    inputDataList = []
    outputDataList = []
    for i in range(n):
        inputData = input().split()
        inputDataList = [int(n) for n in inputData]
        outputDataList.append(inputDataList)

    return outputDataList


# ===CODE===

r = float(input())

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

print("{:.5f}".format(area), "{:.5f}".format(len))

Submission status: Accepted

Solution code:
n = 3.14159265358979323846264338327950288419716939937510

s = float(input())
a = s**2 * n
b = s*2*n
print(round(a,6),round(b,6))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
PI = 3.141592653589

r = float(input())

area = r * r * PI
Circumference = r * 2 * PI

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#2020-03-18
a = float(input())
pi = 3.141592653589
print(a*a*pi,a*2*pi)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

L = 2*r*pi
M = r*r*pi

print("{1:.6f} {0:.6f}".format(L,M))

Submission status: Accepted

Solution code:
from math import pi
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN

r = float(input())

l = 2 * r * pi
s = r ** 2 * pi
t = Decimal(str(l)).quantize(Decimal('0.000001'), rounding=ROUND_HALF_UP)
u = Decimal(str(s)).quantize(Decimal('0.000001'), rounding=ROUND_HALF_UP)
print(str(u) + " " + str(t))

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r = float(input())

v = r*r*3.141592653589
cir = r*2*3.141592653589

print("%f %f"%(v, cir))

Submission status: Accepted

Solution code:
import math

r=float(input())

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

print(area)
print(circle)

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
r=float(input())
c=round(math.tau*r,6)
a=round(math.pi*r*r,6)
print(a,c,sep=" ")

Submission status: Accepted

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

Submission status: Accepted

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

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
num=float(input())
print(round(num**2*math.pi,6),round(2*math.pi*num,6))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 円の面積と円周
import math

r = float(input())

circumference = 2 * math.pi * r
circle_area = math.pi * (r**2)

print("%f %f"%(circle_area, circumference))

Submission status: Accepted

Solution code:
import math

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

input_value = input()

r = float(input_value)

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

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

Submission status: Accepted

Solution code:
from math import pi

a = float(input())

x = a*a*pi
y = a*2*pi

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
r=float(input())
print(str('{:.6f}'.format(r*r*3.141592653589))+' '+str('{:.6f}'.format(2*r*3.141592653589)))

Submission status: Accepted

Solution code:
import math

r = float(input())

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

print("%f %f" %(area, circ))

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

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

Submission status: Accepted

Solution code:
r=float(input())
m=(r*r)*3.14159265358979323846
n=(r+r)*3.14159265358979323846
print('{0} {1}'.format(m,n))

Submission status: Accepted

Solution code:
r = float(input())
# print(r, r*r*3.14159265358979323846)
print(round(r*r*3.141592653589, 7), round(2*r*3.141592653589, 7))

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

Submission status: Accepted

Solution code:
import math

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

if __name__ == "__main__":
  main()

Submission status: Accepted

Solution code:
a = float(input())

pi = 3.141592653589

area = a ** 2 * pi
c = a * 2 * pi

print(f"{area:.5f} {c:.5f}")

Submission status: Accepted

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

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())
π = 3.141592653589
S = r*r*π;l = 2*r*π
print (f"{S} {l}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

# from math import pi
import math

r = float(input())
area = math.pi * r * r
circ = 2.0 * math.pi * r
print("{:.10f} {:.10f}".format(area, circ))

Submission status: Accepted

Solution code:
a = float(input())
en = float(3.141592653589)
print("%f %f"%(a * a * en, (a + a) * en))

Submission status: Accepted

Solution code:
import math


def calc(r):
    area = r*r*math.pi
    circumference = 2*math.pi*r
    return '{:.6f} {:.6f}'.format(area, circumference)


if __name__ == "__main__":
    r = float(input())
    print(calc(r))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
r = float(input())

print(f"{3.141592653589 * r * r} {3.141592653589 * 2 * r}")

Submission status: Accepted

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

#tmp= int(input())
tmp= float(input())
#tmp = input().split()
#a,b = list(map(lambda a: int(a), tmp))


pi=3.141592653589793
print('{:.6f}'.format(tmp**2*pi),'{:.6f}'.format(tmp*2*pi))

Submission status: Accepted

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

circle = 2 * pi * r

area = pi * r ** 2

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r = float(input())

print("%f %f"%(3.14159265358979*r**2, 2*3.14159265358979*r))

Submission status: Accepted

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

print(s, l)

Submission status: Accepted

Solution code:
import math
r = float(input())
print("%.10f %.10f"%(r*r*math.pi, 2.0*math.pi*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:
import math
r = float(input())
print(math.pi * r * r, math.pi * r * 2)

Submission status: Accepted

Solution code:
import math

r = float(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589
area = (r**2) * pi
length = 2 * r * pi

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

Submission status: Accepted

Solution code:
pi = 3.14159265358979323846264338327950288

r = float(input())

S = pi * r * r
L = 2 * pi * r

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = float(input())

area = a * a * 3.141592653589
circle = 2 * a * 3.141592653589

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

Submission status: Accepted

Solution code:
r = float(input())
l = r * 2 * 3.141592653589
d = r ** 2 * 3.141592653589
print("%1.6f"%d,"%1.6f"%l)

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

Solution code:
import sys
import math
input = sys.stdin.readline
N=float(input())
print(math.pi*N**2,2*N*math.pi)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

s = r * r * math.pi
l = 2 * r * math.pi
print(s, l)

Submission status: Accepted

Solution code:
import sys
import math
input = sys.stdin.readline

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

Submission status: Accepted

Solution code:
pi=3.141592653589795028
a=float(input())
print('{:.10f}'.format(a*a*pi),end=" ")
print('{:.10f}'.format(2*a*pi))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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


print("%.10f %.10f"%(s,d))

Submission status: Accepted

Solution code:
#pi no atai wo eru tameni math wo import
import math
p=math.pi
#input ha float no kanousei mo aru
r=float(input())
area=r*r*p
circumference=2*r*p
print("%.6f %.6f"%(area,circumference))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = float(input())
p = 3.141592653589
menseki = a * a * p
enshu = a * 2 * p
print('{0:.6f} {1:.6f}'.format(menseki, enshu))

Submission status: Accepted

Solution code:
import math

r = float(input())

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

print(f"{area:.6f} {length:.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("%.6f %.6f" %(r*r*math.pi, 2*r*math.pi))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
import itertools
import math

# import numpy as np

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

A = float(readline().rstrip())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r = float(input())
m = r*r*3.141592653589
e = r*2*3.141592653589

print("{0:5f} {1:5f}".format(m,e))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())
area = r*r*math.pi
c = r*2*math.pi
print(str(area) + ' ' + str(c))

Submission status: Accepted

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

square = pi * r ** 2
length = 2 * pi * r

print(f"{square} {length}")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def truncate(n, decimals=6):
    multiplier = 10 ** decimals
    return int(n * multiplier) / multiplier
import math
r = float(input())
print(truncate(math.pi * float(r) ** 2) , truncate(2 * float(r) * math.pi))

Submission status: Accepted

Solution code:
r = float(input())
area = r * r * 3.141592653589
circumference = 2 * r * 3.141592653589

print(f"{area} {circumference}")

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math
a=float(input())
m=a*a*math.pi
n=a*2*math.pi
mo='{:.6f}'.format(m)
no='{:.6f}'.format(n)
print(mo,no)

Submission status: Accepted

Solution code:
import math

r=float(input())

e=2.0*r*math.pi
m=r**2*math.pi

print("{:.6f}".format(m),"{:.6f}".format(e))

Submission status: Accepted

Solution code:
import math

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

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

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
r = float(input())

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

print(f"{area} {circumference}")

Submission status: Accepted

Solution code:
r = float(input())
import math
s = math.pi*r**2
l = 2*math.pi*r
print(s, 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:
import math

r = float(input())

s = round(math.pi * r * r, 6)
l = round(2 * math.pi * r, 6)

print(s, l)

Submission status: Accepted

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

Submission status: Accepted

Solution code:

import math

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

Submission status: Accepted

Solution code:
r = float(input())
pi=3.141592653589
def m():
    return r*r*pi
def s():
    return (2*r)*pi

print(m(),s())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r = float(input())
p = 3.14159265358979
print("%.5f %.5f" %(r*r*p,2*r*p))

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())
m = r ** 2 * 3.141592653589
n = r * 2 * 3.141592653589
print('{:.6f} {:.6f}'.format(m, n))

Submission status: Accepted

Solution code:
import math
def calc_area_and_circumference(r):
    pi = math.pi
    s = pi * r **2
    l = 2 * pi * r

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

if __name__ == "__main__":
    param = input()
    r = float(param)
    calc_area_and_circumference(r)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r = float(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

print(area, circum)

Submission status: Accepted

Solution code:
import math
from decimal import *

radius = float(input())
area = (radius ** 2) * math.pi
circumference = 2 * radius * math.pi
area = Decimal(area).quantize(Decimal("0.000001"))
circumference = Decimal(circumference).quantize(Decimal("0.000001"))
print(area, circumference)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")

def main():
    #a,b=list(map(int,input().split()))
    pi=3.141592653589793
    r=float(input())
    print(r*r*pi,r*2*pi)
main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

def Area_perimeter(r):
    p = 2*math.pi*r
    a = math.pi*pow(r,2)
    return p,a


def main():
    r = float(input())
    p,a = Area_perimeter(r)
    print("%.6f %.6f"%(a,p))

if __name__ == "__main__":
    main()

Submission status: Accepted

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

area = n*n*math.pi
circum = 2*n*math.pi
print(area, circum)

Submission status: Accepted

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

Submission status: Accepted

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

Area = r * r * math.pi
Circumference = 2 * r * math.pi

print("{:.6f}".format(Area),"{:.6f}".format(Circumference))

Submission status: Accepted

Solution code:
r = float(input())

import math

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from math import pi

r = float(input())
s = round(r**2*pi, 5)
l = round(r*2*pi, 5)

print(s, l)

Submission status: Accepted

Solution code:
import math

r = float(input())

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

print(S,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:
pi = 3.141592653589793238

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

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())
pi = 3.141592653589793238
a = float(2*pi*r)
b = float(pi*(r**2))
print(b,a)

Submission status: Accepted

Solution code:
PI = 3.14159265358979323846264338327950288

a = float(input())

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

Submission status: Accepted

Solution code:
import math

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

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