def myNames(): b = [] while True: a = input("whats the name: ") if a != "done": b.append(a) elif a == "done":