Question: 
Write a function to find the surface area of a cone.


Model's Code:
def surfacearea_cone(radius, height):
    import math
    slant_height = math.sqrt(radius**2 + height**2)
    return math.pi * radius * (radius + slant_height)



Sample Correct Code:
import math
def surfacearea_cone(r,h):
  l = math.sqrt(r * r + h * h)
  SA = math.pi * r * (r + l)
  return SA


Asserts:
assert surfacearea_cone(5,12)==282.7433388230814
assert surfacearea_cone(10,15)==880.5179353159282
assert surfacearea_cone(19,17)==2655.923961165254


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 497 of 974: 366/497 (73.64185110663985%): success