title: How to split list elements to a line separated by space
body: <p>I have a list in python as :</p>
  
  <pre><code>values = ['Maths\n', 'English\n', 'Hindi\n', 'Science\n', 'Physical_Edu\n', 'Accounts\n', '\n']
  print("".join(values))
  </code></pre>
  
  <p>I want output should be as :-</p>
  
  <pre><code>Subjects: Maths English Hindi Science Physical_Edu Accounts
  </code></pre>
  
  <p>I am new to Python, I used join() method but unable to get expected output. </p>