RosettaCodeData/Task/Eulers-identity/Python/eulers-identity.py

4 lines
73 B
Python
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
>>> import math
>>> math.e ** (math.pi * 1j) + 1
1.2246467991473532e-16j