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

Write a function called hello_student. This function should receive one argument, name. This function should return one

Write a function called hello_student. This function should receive one argument, name. This function should return one value, the string 'Hello ' followed by the value of the name parameter.

1 Answer

Eric M
Eric M
11,545 Points

Hi Taurai,

What trouble are you having with this challenge? Maybe try rewatching the video right before this challenge. If you're still unsure, post what you think the answer might be and what part of the question is you're struggling to understand.

For instance, can you write a function called hello_student? Is your trouble with the return value? Don't remember what an argument is?

This will help us help you!

Cheers,

Eric