Answers for "math in python"

1

python cmath constants

cmath.e	Returns Euler's number (2.7182...)
cmath.inf	Returns a floating-point positive infinity value
cmath.infj	Returns a complex infinity value
cmath.nan	Returns floating-point NaN (Not a Number) value
cmath.nanj	Returns coplext NaN (Not a Number) value
cmath.pi	Returns PI (3.1415...)
cmath.tau	Returns tau (6.2831...)
Posted by: Guest on January-04-2021
12

how to import math in python

import math
Posted by: Guest on January-01-2021
0

python use math

import math

print(math.sqrt(4))
Posted by: Guest on October-01-2021

Python Answers by Framework

Browse Popular Code Answers by Language