Perimeter of an Ellipse | Python3 program to find perimeter of an Ellipse ; Function to find the perimeter of an Ellipse ; Compute perimeter ; Driver code ; Function call
from math import sqrt NEW_LINE def Perimeter ( a , b ) : NEW_LINE INDENT perimeter = 0 NEW_LINE perimeter = ( 2 * 3.14 * sqrt ( ( a * a + b * b ) / ( 2 * 1.0 ) ) ) ; NEW_LINE print ( perimeter ) NEW_LINE DEDENT a = 3 NEW_LINE b = 2 NEW_LINE Perimeter ( a , b ) NEW_LINE