Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

circumference of a circle python

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)
 
PREVIOUS NEXT
Tagged: #circumference #circle #python
ADD COMMENT
Topic
Name
3+5 =