SyntaxFix
Write A Post
Hire A Developer
Questions
There is a better way to write polar(), here it is:
def polar(x,y): `returns r, theta(degrees)` return math.hypot(x,y),math.degrees(math.atan2(y,x))