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 trial

Python Functions, Packing, and Unpacking Getting Info In and Out of Functions Functions with Arguments and Returns

Mark Nembhard
Mark Nembhard
1,387 Points

This code still won't work. It is coming back with make sure there is space between returned string

Not sure why it is not accepting it

creating_functions.py
def hello_student(name):

    return'hello ' + name
name = 'chris'
hello_student(name)

2 Answers

In the instructions the H in the string 'Hello ' is uppercase.

Guys, I didnt see this discussion before posting. Here is the link where we are discussing this. https://teamtreehouse.com/community/creatingfunctionspy-has-some-issue Ryan, gave a solution but ive still posted few questions there.

Mark Nembhard
Mark Nembhard
1,387 Points

I know I am not going mad. i just copied and pasted your answer and it does not work

Mark Nembhard
Mark Nembhard
1,387 Points

No way just. because of the hello is capitalized. Thanks Amar