0
24th Oct 2019, 4:15 PM
Somil Khandelwal
3 Respostas
+ 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"],
24th Oct 2019, 4:26 PM
A͢J
A͢J - avatar
+ 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
24th Oct 2019, 4:27 PM
Aymane Boukrouh
Aymane Boukrouh - avatar