Python Forum
python codecademy help - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: python codecademy help (/thread-3926.html)



python codecademy help - ython_skyy - Jul-08-2017

I need help with this code

lloyd = {
   "name":"Lloyd",
   "homework":[],
   "quizzes":[],
   "tests":[],
   }
alice = {
   "name":"Alice"
   "homework":[],
   "quizzes":[],
   "tests":[],
   }
tyler = {
   "name":"Tyler"
   "homework":[],
   "quizzes":[],
   "tests":[],
   }



RE: python codecademy help - ichabod801 - Jul-08-2017

I'm not sure what the problem you are having is (because you didn't tell us), but I do see that you are missing commas after "Alice" and "Tyler". You also have extras after each "tests" list.


RE: python codecademy help - ython_skyy - Jul-08-2017

I am getting the error Oops, try again. Did you create a dictionary named lloyd? Your code threw a "global name 'lloyd' is not defined" error

fixed it thanks for the help