Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion routes/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,20 @@

router = Blueprint("router", __name__)

#Tesla made this
@router.route("/check")
def check():
return "Congratulations! Your app works. :)"

@router.route("/hello")
def hello():
return "Hactoberfest is cool!"

@router.route("/add", methods=["POST"])
def add():
a=int(input("Enter the first number")
b=input("Enter the second number")
c=a+b
print(c)
# Add logic here
return
return