Python Flask Basics Welcome to Flask Multiply View

get stuck

did't get a 200

flask_app.py
from flask import Flask

app = Flask(__name__)

@app.route('/multiply')
def multiply(multiply = 5*5):
    return multiply

1 Answer

Chris Freeman
MOD
Chris Freeman
Treehouse Moderator 63,148 Points

You’re so close.

Remember, views have to return strings.

:point_right: add a str() around multiply

Post back if you need more help. Good luck!!!