Concatenate Array Python Function Example