Constants

scipy.constants.

scipy.constants is a table of physical constants. Print a few you might use in a homework.

Goal

Print c, g, and zero Celsius in kelvin.

from scipy import constants
print('c', constants.c)
print('g', constants.g)
from scipy import constants
print('zero C', constants.zero_Celsius)
from scipy import constants
print(constants.metric_ton, constants.kilo)
from scipy import constants
print('pi', constants.pi, np.pi)