How To Call A Function Inside A Function In Python