Array From Range Python Function Parameters