Lesson Number one


#1



Stuck at lesson number one.


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


Replace this line with your code. 
llyod ={
    'name':'Llyod', 
    'homework': []  , 
    'test':  [],
    'quizzes': []}

alice ={
    'name':'Alice', 
    'homework': [] , 
    'test':  [],
    'quizzes':  []}
tyler ={
    'name':'Tyler',
    'homework': [] ,
    'test': [],
    'quizzes':[]}


#2

I realize that i did not type test properly, it should have been tests, but that doesnt affect the outcome of the code


#3

Did you create a dictionary named lloyd ?


#4

Hey rcodeman,
llyod ={
'name':'Llyod',
'homework': [] ,
'test': [],
'quizzes': []}

Isnt this considered a creation of a dictionary? there is the curly bracket parenthesis { }


#5

yes of course but the problem with the name you typed


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.