How To Print Output Of A Function In Python