radius = [12, 35, 4]
areas = []
def get_areas(radius1, radius2, radius3):
areas.append(str(float(radius1 ** 2) * 3.1415))
areas.append(str(float(radius2 ** 2) * 3.1415))
areas.append(str(float(radius3 ** 2) * 3.1415))
return print(areas)
get_areas(radius[0], radius[1], radius[2])
radius = [12, 35, 4]
areas = []
def get_areas(radius1, radius2, radius3):
areas.append(str(float(radius1 ** 2) * 3.1415))
areas.append(str(float(radius2 ** 2) * 3.1415))
areas.append(str(float(radius3 ** 2) * 3.1415))
return print(areas)
get_areas(radius[0], radius[1], radius[2])