How do I make a program that separates a dictionary such as in the format as: {"one":2, 3:4, "five":6, 7:8}
into:
one: 2
3: 4
five: 6
7: 8
Each pair or key, value in a new line, with exception handling that can detect if a dictionary is empty or not a valid input.
I have thought about using loops but I'm not sure if that's necessary or even works.