I can’t fix your logic because I’m at the same level as you, but I was told in a previous post I made that “none” shows up because the program CodeAcademy uses expects some kind of return statement within the functions you create.
This was for a different project, but I also had “None” show up in this project and adding return worked. Maybe try “return names.append(greeting)”