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 trialAllegret Yahnis
3,684 PointsI am sorry but I don't no why my code is not correct......
def hello_student(name):
val = hello name
return val
print(hello_student(yahnis))
3 Answers
Joseph Yhu
PHP Development Techdegree Graduate 48,637 PointsRemember that you have to surround strings with quotes.
Joseph Yhu
PHP Development Techdegree Graduate 48,637 Points- Put a space after the Hello.
- Make sure to surround
yahnis
with quotes too.
Allegret Yahnis
3,684 PointsThanks a lot I will be carefuly with the format.
Nick Jahanshahi
1,499 PointsNick Jahanshahi
1,499 PointsWhat is the correct code in this example? I tried
def hello_student(name): val = βHelloβ + name return val
And I just kept getting errors.