How can I properly output the key and value of a dictionary?
An easy way to
key and value stored in that
key is to use
, between the two things you want printed. The comma tells Python you want these things to be displayed on the same line and, by default, they will be separated by a space.
print thing_1, thing_2.
The resulting output would be whatever is stored in those two variables