This is the Python code for science.