Python Forum

Full Version: python codecademy help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need help with this code

lloyd = {
   "name":"Lloyd",
   "homework":[],
   "quizzes":[],
   "tests":[],
   }
alice = {
   "name":"Alice"
   "homework":[],
   "quizzes":[],
   "tests":[],
   }
tyler = {
   "name":"Tyler"
   "homework":[],
   "quizzes":[],
   "tests":[],
   }
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.
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