I am making a function in which it could calculate the total molecular weight of a protein. So, i have already entered or stored each molecular weights of every amino acids,
I want my function to read the argument or input like ABCDEF in this format. Please help me with this