# name.py # Walker M. White (wmw2) # August 31, 2012 """Module with a single, non-working function. The function in this module has a bug (in the sense that it does not satisfy its specification). This allows us to show off debugging.""" def last_name_first(n): """Returns: copy of but in the form , Precondition: is in the form with one or more blanks between the two names and no spaces in or """ end_first = n.find(' ') first = n[:end_first] last = n[end_first+1:] return last+', '+first