def diameter_circle(r): diameter=2*r return diameter