Skip to content

Commit

Permalink
update readme and flask exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-joseph committed Mar 17, 2024
1 parent dfca77d commit 4d981cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion 054-day/hello_flask/hello.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@ def hello_world():
def hello_bye():
return "<p>Bye</p>"

@app.route("/username/<name>/<int:age>")
def greetings(name, age):
return f"<p>Hello there {name}, you are {age} years older.</p>"

if __name__ == "__main__":
app.run()
app.run(debug=True)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ In this section, we focus on file operations:

</details>

### Day 54
### Day 55
<details>
<summary>HTM, URL paths and Flask debugging </summary>

Expand Down

0 comments on commit 4d981cd

Please sign in to comment.