Question: While trying to using Flask in Python for the first time, I get a weird syntax error. Does anyone know why? Filename: hello-world.py from
While trying to using Flask in Python for the first time, I get a weird syntax error. Does anyone know why?
"""Filename: hello-world.py """ from flask import Flask app = Flask(__name__) @app.route(' / users/') def hello_world(): return ("Hello {}.format(username))" if __name__ == '__main__' (I have tried this line with and without the :) app.run() Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
