Explain what is For-in loop and what is Dictionaries? Provide example with a code snippet, when you use for-in to iterate over items in a dictionary.
Example: python loop through dictionary
dictionary = {52:"E",126:"A",134:"B",188:"C",189:"D"}
for key, value in dictionary.items():
print(key)
print(value)