Recursive Function In Python Definition