Is there a way to print the contents of a dictionary without have to iterate over the dictionary? In javascript you can console.log to view the contents of the object. Is there something similar in python?
I've tried print statement as well as object.keys() and object.values(). However, I would like to see the entire dictionary via print statement.
print(dictionary)
I expect {a: 1}
instead of object at 0x7efd79610278>