print "Middle name(s): " + str(full_name[1:num-1]) print "Last name: " + str(full_name[num-1]) ...