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 trialJulian Coy
6,774 PointsI think there may be an issue with the question wording, or solution checker.
PROBLEM SOLVED: I figured this out. There is an issue with the validation of step 3 in the exercise. I forgot the '.' at the end of the menu string. It passed stage 3 validation. Stage 4 however, was mad there was no period, but the error message did not indicate that.
ORIGINAL QUESTION: This code seems to fail the validation and I can't continue the course. Not sure why, as this results in the menu being set to the value of 'Our available flavors are: banana split, hot fudge, cherry, malted, black and white'
available = "banana split;hot fudge;cherry;malted;black and white"
sundaes = available.split(';')
menu = "Our available flavors are: {}"
menu = menu.format(", ".join(sundaes))
1 Answer
Julian Coy
6,774 PointsI figured this out. There is an issue with the validation of step 3 in the exercise. I forgot the '.' at the end of the menu string. It passed stage 3 validation. Stage 4 however, was mad there was no period, but the error message did not indicate that.
Chris Freeman
Treehouse Moderator 68,441 PointsChris Freeman
Treehouse Moderator 68,441 PointsTagging Kenneth Love for comment about checking Task 3 validation.