python write output to dictionary code example
Example: python print dictionary line by line
# Iterate over key/value pairs in dict and print them
for key, value in student_score.items():
print(key, ' : ', value)
# Iterate over key/value pairs in dict and print them
for key, value in student_score.items():
print(key, ' : ', value)