Spencer Lebel1,607 Points
hello_student return not working
Please help point out what my code is missing here
def hello_student(name): hello = "Hello" + name return hello hello = hello_student("spencer")
Brandon WhiteTreehouse Moderator
Hi Spencer Lebel,
Right now your return string would look something like this: "Hellospencer". It's because you don't have a space between the "o" in hello and the end quotation.
It's easy to skip over in the challenge instructions, but the "Hello" written in the instructions is actually "Hello " with that added space. Add that space, and your strings will return like this: "Hello spencer", and you'll pass the challenge.