Write a Python function that prints a dictionary line by line. For each line, print the key and the corresponding value.
Example 1:
Input: {"a": 1, "b": 2, "c": 3}
Output: a: 1 b: 2 c: 3
Example 2:
Input: {"x": 10, "y": 20, "z": 30}
Output: x: 10 y: 20 z: 30