Boltzmann Partition Function Python Example Hello