Function Structure In Python Code