0
Why this code is not working
2 Answers
+ 4
You have to write comma( , ) after each element except last one and Write each element inside " " like hydrogen should be written as "hydrogen" otherwise you will get undefined.
Sample:-
"H" : ["hydrogen"],
"He": ["helium"],
+ 2
Two things:
1. The names you have inside you list are undefined, put them between " ", so "H": ["hydrogen"] and so on
2. You forgot to put commas, between every two elements of dict there should be a comma