title: Name formatting in python with string splits
body: <p>I have gotten mostly through this assignment but I am stuck as to obtain the proper outputs.</p>
  <p>This assignment wishes that if the inputs are a full name, that the outputs are &quot;last name, first initial. last initial. If the input was Stacy Estel Graham, the expected output should be Graham, S.E.</p>
  <p>&quot;Many documents use a specific format for a person's name. Write a program whose input is:</p>
  <p>firstName middleName lastName</p>
  <p>and whose output is:</p>
  <p>lastName, firstInitial.middleInitial.&quot;</p>
  <pre><code>full_name = input()
  mod_name = full_name.split(' ')
  last_name= mod_name.pop(-1)
  mod_name.join('.')
  print(last_name)
  print(mod_name)
  </code></pre>
  <p>I am completely lost on how to proceed.</p>