3 ms·
Hmm. Python 3.11 (didn't test in earlier) >>> from math import atan, exp >>> exp(atan(1)*-2) 0.20787957635076193 >>> 1j**1j (0.20787957635076193+0j)
by satya71 3y ago
Hmm. Python 3.11 (didn't test in earlier)
>>> from math import atan, exp
>>> exp(atan(1)*-2)
0.20787957635076193
>>> 1j**1j
(0.20787957635076193+0j)
- dxbydt 3y agothank you. i tested this on lc playground and yeah it does work.