Python Function Multiple Inputs Using Split