I am completely stuck on a question I was assigned and was hoping for a little guidance to get me started.
The question is:
Create a program that outputs the molar mass of a molecule. The user will enter a molecule with each atom individually (CO2 would be entered as): C O O
(We are given a file to use) Parse the comma separated text file "elements.csv". The user should continue to be asked for more molecules until they enter a blank line.
I know I have to use dictionaries, keys and values to look them up in the file but I am lost as to how to start this code. Any help would be appreciated.