def myprint(name, mod=sys.modules[__name__]):
    print('{}: {}'.format(name, getattr(mod, name)))
How can we print the variable name along with its value in python, which will be useful during debugging?