How To Call Function Inside A Function In Python