0

SyntaxError in dictionaries

https://code.sololearn.com/cZxfDLvKV326 in line 6 I get syntax error: invalid syntax. Why?

29th May 2019, 3:07 PM
Giovanni Maria Tosi
Giovanni Maria Tosi - avatar
1 Antwort
+ 3
Use commas to separate elements in dictionaries. cars_dict = { "abbrev" : ["USA", "Australia", "Japan"], "cpc" : ["809", "731", "588"], "drives_right" : [True, False, False] }
29th May 2019, 3:22 PM
Diego
Diego - avatar