title: Using .join() in Python
body: <p>Very simple and quick question. Take this list for example:    </p>
  
  <pre><code>a = ['hello1', 'hello2', 'hello3']
  ','.join(a)
  </code></pre>
  
  <p>I would like to have 'and' instead of a comma before the last element of the list. So I would get:</p>
  
  <blockquote>
    <p>hello 1, hello 2 and hello 3</p>
  </blockquote>
  
  <p>instead of....</p>
  
  <blockquote>
    <p>hello 1, hello 2, hello 3</p>
  </blockquote>
  
  <p>Is there a way to accomplish this using <code>.join()</code>? I know I can just type it in the list for a simple example like this, but the list I need in my actual program comes from user input.</p>