Please help, I still don't get how to answer only keys or value on this dictionary
It suppose to be like student.items():
But it won't work? can some one tell me where I'm worng at?
Steven Parker207,972 Points
The "items" method returns both keys and values together as tuples.
If you only want one or the other, there is a "keys" method and a "values" method.
Annnndd that was never mentioned in the lesson. I guess that was something we were supposed to find online. Lol.