-
Practice>Python>Math>Polar Coordinateshackerrank.com 2019. 2. 12. 12:49728x90
Polar Coordinates
problem link : https://www.hackerrank.com/challenges/polar-coordinates/problem
difficulty : easy
Tip
- It might seems that it is complex problem, however it is NOT
- Before you try to resolve it, you should understand both complex number and polar coordination
- complex number : https://en.wikipedia.org/wiki/Complex_number
- cmath link to use ploar() function : https://docs.python.org/2/library/cmath.html#conversions-to-and-from-polar-coordinates
- In the problem, just we convert complex number to polar coordination
Solution
728x90'hackerrank.com' 카테고리의 다른 글
Practice>Python>Sets>Symmetric Difference (0) 2019.02.13 Practice>Python>Sets>Introduction to Sets (0) 2019.02.13 hackerrank.com Practice>Python>Collections>Collections.namedtuple() (0) 2019.02.11 hackerrank.com Practice>Python>Collections>DefaultDict Tutorial (0) 2019.02.10 hackerrank.com Practice>Python>Itertools>Compress the String! (0) 2019.02.07