title: How to remove the first and last value of the first and last element that is separated by (.) and need to join the other elements in the list
body: <p>I have a python-list like this </p>
  
  <pre><code>['6403687.6403773','6404555.6404614','6413270.6413335']
  </code></pre>
  
  <p>In this I need to remove first value of the first element(6403687) and last value of the last element(6413335) and need to join the other element like this ['6403773.6404555','6404614.6413270'].Like this I have several list with n values.I don't how to do this.If anyone please help me.</p>
  
  <pre><code>list = ['6403687.6403773','6404555.6404614','6413270.6413335']
  </code></pre>
  
  <p>After removing the first and last values,I need a list like this</p>
  
  <pre><code>list1 = ['6403773.6404555','6404614.6413270']
  </code></pre>