Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialbright chibuike
3,245 Pointsfunction and argument return
def hello_student(name):
return "Hello "+ name
hello_student( Mark)
pls can somebody fixed this confusing question for me
def hello_student(name):
return "Hello "+ name
hello_student( Mark)
1 Answer
Ryan Groom
18,674 Pointsbright chibuike One issue you're having is that there are too many spaces after your "Hello" text. The second challenge also asks that you store the called function in a variable named "hello". This is my working solution:
def hello_student(name):
return "Hello " + name
hello = hello_student('Mark');
If you have any questions or misunderstandings let me know, I'm glad to help.