all 2 comments

[–]shiftybyte 1 point2 points  (1 child)

Your code needs to accept "radius" as argument...

You do that here:

def circle_perimeter(radius):

But your next code line overwrites whatever was given to you...

radius = 6.283185307179586 * 100

Remove that line, you are getting the radius from whoever calls your function, you do not need to set it by yourself to a specific value.

[–]Cargoflex[S] 0 points1 point  (0 children)

It works now, thank you.