write dictionary in a line in python 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)