Concatenate Array Python Function Example Code