R Function Multiple Inputs Using Split In Python W3schools