kopia lustrzana https://github.com/micropython/micropython
12 wiersze
204 B
Python
12 wiersze
204 B
Python
|
# Tests various constants of the math module.
|
||
|
try:
|
||
|
import math
|
||
|
from math import exp, cos
|
||
|
except ImportError:
|
||
|
print("SKIP")
|
||
|
raise SystemExit
|
||
|
|
||
|
print(math.e == exp(1.0))
|
||
|
|
||
|
print(cos(math.pi))
|