# Iterate over key/value pairs in dict and print them for key, value in student_score.items(): print(key, ' : ', value)
Here is what the above code is Doing:
1. We create a dictionary with three key/value pairs.
2. We iterate over the key/value pairs in the dictionary using a for loop.
3. We print the key and value for each pair.