Nov-17-2018, 06:45 PM
Mass_Of_Elements = {
"H": "1.008 g",
"He": "4.003 g",
"Li": "6.941 g",
"Be": "9.012 g",
"B": "10.811 g",
So this is essentially what I have. So if I want to add Helium and Boron for example. Would I need to make a string for just the every single possibility or is there a way I can just let python know that I am adding Boron and Helium. Also these are only the first 5 elements. I am going to use all of them. Or attempt to at least
"H": "1.008 g",
"He": "4.003 g",
"Li": "6.941 g",
"Be": "9.012 g",
"B": "10.811 g",
So this is essentially what I have. So if I want to add Helium and Boron for example. Would I need to make a string for just the every single possibility or is there a way I can just let python know that I am adding Boron and Helium. Also these are only the first 5 elements. I am going to use all of them. Or attempt to at least