I\'ve approached this question that I\'m struggling to solve. It\'s asking me to convert the code from \"for-loops\" to \"while-loops\":.
def print_names2(pe
Maybe here's what you want:
def print_names(people): while people: p = people.pop() n = '' while p: n += p.pop() + ' ' print n