This is correct.
At least by using pprint() and print() functions. Lets try to find the problem by using these functions.