# Task:

Based on the received dimensions, `a` and `b`, of an ellipse, calculare its area and perimeter.

## Example:
```python
Input: ellipse(5,2)

Output: "Area: 31.4, perimeter: 23.1"
```

**Note:** The perimeter approximation formula you should use: `π * (3/2(a+b) - sqrt(ab))`

___

## Have fun :)

Source: codewars | Difficulty: EASY
Tags: Fundamentals

Starter code: def ellipse(a, b):
	

Solutions:
from math import pi

def ellipse(a, b):
	return f'Area: {pi * a * b:.1f}, perimeter: {pi * (1.5 * (a + b) - (a * b) ** 0.5):.1f}'


from math import pi

def ellipse(a, b):
	perimeter = pi * (3 / 2 * (a + b) - (a * b) ** 0.5)
	area = pi * a * b
	return f'Area: {area:.1f}, perimeter: {perimeter:.1f}'


def ellipse(a, b):
	import math
	area = math.pi * a * b
	perimeter = math.pi * (3 / 2 * (a + b) - math.sqrt(a * b))
	return 'Area: ' + str(round(area, 1)) + ', perimeter: ' + str(round(perimeter, 1))


import math

def ellipse(a, b):
	area = math.pi * a * b
	perimeter = math.pi * (1.5 * (a + b) - math.sqrt(a * b))
	return f'Area: {round(area, 1)}, perimeter: {round(perimeter, 1)}'


def ellipse(a, b):
	import math
	area = math.pi * a * b
	p = math.pi * (1.5 * (a + b) - math.sqrt(a * b))
	return 'Area: ' + str(round(area, 1)) + ', perimeter: ' + str(round(p, 1))


import math

def ellipse(a, b):
	s = str(round(math.pi * a * b, 1))
	l = str(round(math.pi * (3 / 2 * (a + b) - math.sqrt(a * b)), 1))
	return 'Area: ' + s + ', perimeter: ' + l


from math import pi

def ellipse(p, q):
	return f'Area: {round(pi * q * p, 1)}, perimeter: {round(pi * (3 / 2 * (p + q) - (p * q) ** 0.5), 1)}'


import math

def ellipse(a, b):
	e = math.pi * (a * b)
	v = a ** 2 + b ** 2
	p = math.pi * (3 / 2 * (a + b) - math.sqrt(a * b))
	return 'Area: {}, perimeter: {}'.format(round(e, 1), round(p, 1))