Good Execute Function Python Definition