mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
7 lines
125 B
Python
7 lines
125 B
Python
from cmath import isclose, sqrt
|
|
|
|
res = sqrt(1+2j)
|
|
assert isclose(res, 1.272019649514069+0.7861513777574233j)
|
|
|
|
a = 1+2j
|
|
{a: 1} |