Here's a newbie, trying to write a code that calculates molecular weight bypassing the number of Hydrogen atoms. The input is a chemical molecular formula like C6H5OH. I want to avoid calculating the H and the integer next to it. I tried doing that, but I failed. Anymore inputs needed to answer the question, let me know. Please help. Thanks in advance.