área de um círculo em python
#Area Of A Circle in python
R = int(input("Enter the radius of the circle: "))
PI = 22/7 #This is a constant
A = PI * R * R
print(A)
VinCoD
#Area Of A Circle in python
R = int(input("Enter the radius of the circle: "))
PI = 22/7 #This is a constant
A = PI * R * R
print(A)
import numpy
#else import scipy or math
#radius = r
r = float(input())
circumference = 2 * numpy.pi * r
#math.pi and scipy.pi also work
print(curcumference)