title: Print list items separated by any character instead of comma (Python)
body: <p>I'm trying to divide particular <strong>length</strong> into <strong>sections</strong> and print <strong>section</strong> division_result times in row. The rest is divided by 2 and both placed at the beginning and the end of the list.<br />
  For now I have this:</p>
  <pre><code>section = 180
  length_to_divide: int = 2150
  interject = ' X '
  
  division_result = length_to_divide / section
  sides = (length_to_divide % section) / 2
  whole = str(section).split() * int(division_result)
  print(sides, whole, sides)
  </code></pre>
  <p>with the output</p>
  <pre><code>85.0 ['180', '180', '180', '180', '180', '180', '180', '180', '180', '180', '180'] 85.0
  </code></pre>
  <p>Is there any way to print list items in row, but instead comma split them by <strong>interject = ' X '</strong> in my case, I'd like to have an output like:</p>
  <pre><code>85.0 X 180 X 180 X 180 X 180 X 180 X 180 X 180 X 180 X 180 X 180 X 180 X 85.0
  </code></pre>