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!
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
Wilson PengCourses Plus Student 603 Points
Where can I view the answers?
Where can I view the answer to this?
from flask import Flask app = Flask(__name__) @app.route('/multiply') def multiply(): return 5 * 5
Kenneth LoveTreehouse Guest Teacher
Why do you need the answer? You're very close to the solution. Decorators (those things that start with
@) need to be directly before the function they decorate, so no blank lines between them. And your view, as it says in the prompt, needs to return a string. You're currently returning an integer.
Iain SimmonsTreehouse Moderator 32,303 Points
Treehouse uses a point system to rank people and indicate their progress through courses and awards them for being helpful on the forums. It wouldn't work so well if they just gave the answers away (which is also why Kenneth Love also isn't going to just write the answer on the forums either, neither should anyone to any question directly). :)