Challenge - #35 - Polar Coordinates

 # Enter your code here. Read input from STDIN. Print output to STDOUT

import cmath

z = complex(input())

r , phi = cmath.polar(z)

print(r,phi,sep = '\n')


Comments

Popular posts from this blog

Challenge - #48 - Incorrect Regex

Challenge - #52 - Set .discard(), .remove(), & .pop()

Challenge - #43 - Time Delta