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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#
# 4b
#
import math


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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import math

r = float(input())

pi = math.pi
area = r*r*pi
c = 2*r*pi
print(format(area, ".6f"),format(c, ".6f"))

Submission status: Accepted

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

print(format(a*a*math.pi,'.6f'),end=' ')
print(format(a*2*math.pi,'.6f'))

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math

r=float(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r=float(input())

print('{:.6f}'.format(r**2*(3.141592653589)),end=' ')
print('{:.6f}'.format(r*2*(3.141592653589)))

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

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

Submission status: Accepted

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

S = pi*r**2
L = pi*2*r
print(f"{S:6f} {L:6f}")

Submission status: Accepted

Solution code:
import math
R = float(open(0).read())
print("{:.5f} {:.5f}".format(R*R*math.pi, 2*R*math.pi))

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r=float(input())
π=3.14159265359
menseki=float(r*r*π)
ensyu=float(r*2*π)
print(menseki,ensyu)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


def resolve():
    r = float(input())

    a = Decimal(r * r * pi).quantize(Decimal('0.000001'), rounding=ROUND_HALF_UP)
    c = Decimal(r * 2 * pi).quantize(Decimal('0.000010'), rounding=ROUND_HALF_UP)
    print(a, c)


resolve()

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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 = float(input())
area = pi*(r**2)
cir = 2*pi*r
print('%.6f %.6f' % (area,cir))

Submission status: Accepted

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

Submission status: Accepted

Solution code:

r = float(input())
p = 3.141592653589
s = r * r* p
l = 2 * r * p
print(s,l)

Submission status: Accepted

Solution code:
import math
n = float(input())
print("%.6f %.6f" % (n*n*math.pi, 2*n*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
a=float(input())
b=2*math.pi*a
c=math.pi*(a**2)
print("{:.6f} {:.6f}".format(c,b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

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:

r = float(input())
p = float(3.141592653589)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

def area(r) :
    return '{:10f}'.format(r**2 * math.pi)

def circumference(r) :
    return '{:10f}'.format(2 * math.pi * r)

r = float(input())

print(area(r), circumference(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:
import math


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


def L(r):
    return 2*r*math.pi


r = float(input())
print('{:.5f}'.format(S(r)), '{:.5f}'.format(L(r)))

Submission status: Accepted

Solution code:
import math

a = float(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
PI = math.pi

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

Submission status: Accepted

Solution code:
from math import pi

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

Submission status: Accepted

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

import math

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

if __name__=="__main__":
    main()

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


def x(r) :
    return r ** 2 * pi, 2 * r * pi
 

a, b = x(r)
print(f"{a : 5f} {b : 5f}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
PI = math.pi

r = float(input())

print(r * r * PI,end=" ")
print((r + r) * PI)

Submission status: Accepted

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

Submission status: Accepted

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

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

pi = 3.141592653589

a = 2*pi*r
s = pi*r**2

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

Submission status: Accepted

Solution code:
import math
PI = math.pi

r = float(input())

print('{} {}'.format(PI * r ** 2 , 2 * PI * r))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = float(input())

b = a*float(2)*3.141592653589
c = a*a*3.141592653589

print("{:.6f}".format(c),"{:.6f}".format(b))

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
math.pi

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

Submission status: Accepted

Solution code:
#半径 r の円の面積と円周の長さを求めるプログラム

import math

r = float(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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.14159265358979323846264338327950288
area = r*r*pi
circle = 2*r*pi
print(area, circle)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num = input()
import math

print('{:.8f} {:.8f}'.format((float(num) ** 2) * math.pi, (float(num) * 2) * math.pi))

Submission status: Accepted

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


def area(rad):
    area = math.pi * rad * rad
    return area


def circle(rad):
    circle = 2 * rad * math.pi
    return circle


print(area(rad), circle(rad))

Submission status: Accepted

Solution code:
import math
math.pi

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

Solution code:
import math
PI = math.pi

r = float(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
r = float(input())

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

Submission status: Accepted

Solution code:
num = float(input())

a = num * num * 3.141592653589

p = 2 * num * 3.141592653589

print("{0:.6f} {1:.6f}".format(a, p))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(str)

Submission status: Accepted

Solution code:
import math

r = float(input())

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

print(f'{a:.06f} {b:.06f}')

Submission status: Accepted

Solution code:
import math

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

r = float(input())
print(*circle(r))

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

r = float(input())

print('{} {}'.format(PI * r ** 2, 2 * PI * r))


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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
PI = math.pi

r = float(input())
area=r**2*PI
cur=2*r*PI
print('{} {}'.format(area,cur))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
from itertools import combinations
import math


def I(): return float(sys.stdin.readline().rstrip())


def LI(): return list(map(int, sys.stdin.readline().rstrip().split()))


def S(): return sys.stdin.readline().rstrip()


def LS(): return list(sys.stdin.readline().rstrip().split())


r = I()

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

Submission status: Accepted

Solution code:
import math
PI = math.pi

r = float(input())

print(PI * r ** 2, 2 * PI * r)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r=float(input())

area=math.pi*r**2

circumference=2*math.pi*r

print(str(area)+' '+str(circumference))

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())
p = 3.141592653589
print(f'{r*r*p:.6f} {(r+r)*p:.6f}')

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())
print(f'{r*r*math.pi:.06f}',f'{r*2.0*math.pi:.06f}')

Submission status: Accepted

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

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


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

Submission status: Accepted

Solution code:
import math

r=float(input())

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

print(S , L)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math as mt

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

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8

PI = 3.141592653589
r = float(input().strip())

temp = PI * r**2
area_ans = f'{temp:6f}'

temp = 2 * PI * r
circle_ans = f'{temp:6f}'

print(str(area_ans) + " " + str(circle_ans))

Submission status: Accepted

Solution code:
# import numpy as np
# pi = np.pi()

r = float(input())
pi = 3.141592653589

S = pi * (r ** 2)
R = 2 * pi * r

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

Submission status: Accepted

Solution code:
import math
n = input()
if "." in n:
    n = float(n)
else:
    n = int(n)
a = math.pi * (n**2)
b = math.pi * (n*2)
print("{:.6f} {:.6f}".format(a,b))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

r = float(input())
pi = 3.141592653589
print(f"{pi * r * r} {2 * pi * r}")

Submission status: Accepted

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


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

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

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:
import math
a=float(input())
B=math.pi*a*a
C=2*math.pi*a
print(str(B)+" "+str(C))

Submission status: Accepted

Solution code:
import math
r = float(input())
n = 5
s = r * r * math.pi
l = r * 2 * math.pi
ss = math.floor(s * 10 ** n) / (10 ** n)
ll = math.floor(l * 10 ** n) / (10 ** n)
print(ss,ll)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r = float(input())
pi = 3.141592653589
#a = r * r * pi
#b = (r + r) * pi
print(r * r * pi , (r + r) * pi)

Submission status: Accepted

Solution code:
import sys
import math 
from decimal import Decimal

PI = math.pi

input = sys.stdin.readline

def main():
    r = float(input())
    
    R = 2 * r * PI
    s = r * r * PI 
    
    print(s,R)
    
if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())


def area(r):

    return float(r * r * math.pi)


def circumference(r):

    return float(2.0 * math.pi * r)


print('%1.6f' % (area(r)), '%1.6f' % (circumference(r)))

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("{0:.6f} {1:.6f}".format(pi*r**2, 2*pi*r))

Submission status: Accepted

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

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:
import math
r = float(input())
a = r * r *math.pi
b = 2 * r *math.pi

print(f"{a:.6f} {b:.6f}")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math


def calculate_circle(r:float)-> (float,float):
    S=r*r*math.pi
    around=2.0*r*math.pi
    return S,around



r=float(input())

s,a=calculate_circle(r)

print(f"{s:.30f} {a:.30f}")

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
a = float(input())
S = 2*math.pi*a
T = math.pi*(a**2)
print(T,S)

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())
pie=3.141592653589
area=r*r*pie
peremeter=2*r*pie

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

Submission status: Accepted

Solution code:
import math

r = float(input())

ans = [math.pi*r**2, 2*math.pi*r]
print(*ans)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r = float(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

r=float(input())

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

print(S, R)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r=float(input())

print(f"{r**2*3.141592653589} {2*r*3.141592653589:.5f}")

Submission status: Accepted

Solution code:
import math

r = float(input())

print(f'{(r * r * math.pi):.10f}', end=" ")
print(f'{(2 * r * math.pi):.10f}')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=float(input())
p=3.141592653589793
print('%.6f %.6f'%(a**2*p,a*2*p))

Submission status: Accepted

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
pi = 3.141592653589

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# import numpy as np
pi = 3.141592653589

r = float(input())

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

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

Submission status: Accepted

Solution code:
from math import pi

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from math import pi

r = float(input())


def func(r):
    return pi * r**2, 2 * pi * r


x, y = func(r)

print(f'{x:.5f} {y:.5f}')

Submission status: Accepted

Solution code:
import math

n = float(input())



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

print(r, s)