Project 4: Physical Constants Lookup
Scientific Computing
Builds on these lessons
Current Task
Objective
scipy.constants provides a large library of physical and mathematical constants, already in standard SI units.
Task: print the speed of light and the mass of a gram in kilograms from scipy.constants.
index.py
from scipy import constants
print(constants.speed_of_light)
print(constants.gram)
* Hint: Correct characters turn green, incorrect ones turn red.
Live Preview
🖼️
Verify your code to see the preview