Quiz
In this lesson, we will solve a quiz to test the concepts that we have covered.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
In the application given below, which URL
must the user visit for the string "Join our Community!"
from flask import Flask
app = Flask(__name__)
@app.route("/")
def home():
return "Welcome!"
@app.route("/join")
def join():
return "Join our Community!"
@app.route("/login")
def join():
return "Login to our portal."
if __name__ == "__main__":
app.run(debug=True, host="0.0.0.0", port=3000)
A.
<Application_URL>
B.
<Application_URL>/
C.
<Application_URL>/join
D.
<Application_URL>/login
1 / 3