Write a python function to find the area of a circle using the user provided diameter


Topic: Write a python function to find the area of a circle using the user provided diameter

Solution

def area_of_circle(diameter):
  PI = 3.14
  area = (PI/4) * (diameter * diameter)
  print(f'Area Of a Circle {area}')



List all Python Programs