Oct 2025 Update -- Script Creation

I created a Python script to calculate the molecular mass of any molecule. This was originally made for my chemistry class but turned into a fun project to code. The script takes a user input, extracts the elements and subscripts using the regular expressions library, then performs the calculations to return the total molecular mass.

For a demonstration, check out the video below. If you want to see the code, click the button below.

View Code