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 trialMarcos Philipson
7,725 PointsPython Basics / ins-outs / Challenge Task 3 statement
The statement asks to combine the variables name, treehouse and the string "loves" with spaces between them, but doesn't specify an order, so I think any order should be valid.
name = "FF"
treehouse = "Tree" + "house"
email_greeting = "{} loves {}".format(name, treehouse)
1 Answer
MUZ140889 Dephine Chenayi Chihota
6,766 Pointsisn't it wise to just follow the order in which the statement is given i.e treehouse, loves name. remember the challenge is hard coded to accept the answer in a specific format therefore your code will give you an error.
Marcos Philipson
7,725 PointsMarcos Philipson
7,725 PointsHow is it coded? It was such a silly mistake that made me loose a couple of annoying minutes...