from math import *

def getPi():
    pi = 2
    num = 2
    denom = sqrt(2)
    nextT = num/denom
    while nextT != 1:
        denom = sqrt(2 + denom)
        pi = pi * nextT
        nextT = num/denom
    return pi
        
PI = getPi()
print("Approximation of pi:", round(PI, 3))
print("Enter the radius:")
ans = eval(input())
print("Area:", round(PI * (ans**2), 3))
e08aab3fedce0c900600e3bfafbd433d18503e8b
<mask token>


def getPi():
    pi = 2
    num = 2
    denom = sqrt(2)
    nextT = num / denom
    while nextT != 1:
        denom = sqrt(2 + denom)
        pi = pi * nextT
        nextT = num / denom
    return pi


<mask token>

<mask token>


def getPi():
    pi = 2
    num = 2
    denom = sqrt(2)
    nextT = num / denom
    while nextT != 1:
        denom = sqrt(2 + denom)
        pi = pi * nextT
        nextT = num / denom
    return pi


<mask token>
print('Approximation of pi:', round(PI, 3))
print('Enter the radius:')
<mask token>
print('Area:', round(PI * ans ** 2, 3))

<mask token>


def getPi():
    pi = 2
    num = 2
    denom = sqrt(2)
    nextT = num / denom
    while nextT != 1:
        denom = sqrt(2 + denom)
        pi = pi * nextT
        nextT = num / denom
    return pi


PI = getPi()
print('Approximation of pi:', round(PI, 3))
print('Enter the radius:')
ans = eval(input())
print('Area:', round(PI * ans ** 2, 3))

from math import *


def getPi():
    pi = 2
    num = 2
    denom = sqrt(2)
    nextT = num / denom
    while nextT != 1:
        denom = sqrt(2 + denom)
        pi = pi * nextT
        nextT = num / denom
    return pi


PI = getPi()
print('Approximation of pi:', round(PI, 3))
print('Enter the radius:')
ans = eval(input())
print('Area:', round(PI * ans ** 2, 3))

from math import *

def getPi():
    pi = 2
    num = 2
    denom = sqrt(2)
    nextT = num/denom
    while nextT != 1:
        denom = sqrt(2 + denom)
        pi = pi * nextT
        nextT = num/denom
    return pi
        
PI = getPi()
print("Approximation of pi:", round(PI, 3))
print("Enter the radius:")
ans = eval(input())
print("Area:", round(PI * (ans**2), 3))