New course! Every coder should learn Generative AI!
Try a free lesson+ 6
I think this is what you mean:
https://code.sololearn.com/c51Fi9kAX4F1/?ref=app
+ 5
Change line 38 to students = [lloyd, alice, tyler]
Explaination.
You have inserted names as strings to the table. So in the for loop you are trying to access properties of a string, not the dictionary. Just removing the quotes will work
+ 3
Try this bro: students = [lloyd, alice, tyler]
We call a variable without double quote!