You are viewing a single comment's thread. Return to all comments →
No one suggested a one-liner yet?
print(*cmath.polar(complex(input())), sep='\n')
Seems like cookies are disabled on this browser, please enable them to open this website
Polar Coordinates
You are viewing a single comment's thread. Return to all comments →
No one suggested a one-liner yet?