Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in project "Build A Simple Web App With Flask" #457

Open
Pawnpusher1245 opened this issue Sep 23, 2023 · 2 comments
Open

Typo in project "Build A Simple Web App With Flask" #457

Pawnpusher1245 opened this issue Sep 23, 2023 · 2 comments

Comments

@Pawnpusher1245
Copy link

Expected Behavior

'''
from flask import Flask
app = Flask(name)

@app.route("/")
def index():
return "Index!"

@app.route("/hello")
def hello():
return "Hello World!"

@app.route("/members")
def members():
return "Members"

@app.route("/members/string:name/")
def getMember(name):
return name</string:name>

if name == "main":
app.run()
'''
Should create a simple flask application

Current Behavior

There is a syntax error in the code due to an incorrect closing tag </string:name> inside the route decorator.

@Karamraj
Copy link

Please assign me, I will have alook into this. Thanks

@ArSenic04
Copy link

ArSenic04 commented Oct 22, 2023

where is whole code by the way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants