title: Modify a list by deleting the first element
body: <p>I don't understand what I am doing wrong. The output I receive from this code is not right.</p>
  
  <p>Modify short_names by deleting the first element and changing the last element to Joe. Sample output from given program: <code>['Sam', 'Ann', 'Joe']</code></p>
  
  <pre><code>short_names = ['Gertrude', 'Sam', 'Ann', 'Joseph']
  "Your solution here"
  print(short_names)
  </code></pre>
  
  <p>My code: </p>
  
  <pre><code>short_names = ['Gertrude', 'Sam', 'Ann', 'Joseph']
  
  short_names.pop()
  short_names.sort()
  
  print(short_names)
  </code></pre>