We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dd6dff commit 3a68d91Copy full SHA for 3a68d91
app.py
@@ -1,14 +1,13 @@
1
-import os
2
from flask import Flask
3
app = Flask(__name__)
4
5
@app.route("/")
6
-def main():
7
- return "Welcome!"
+def home():
+ return "Hello, World!"
8
9
-@app.route('/how are you')
10
-def hello():
11
- return 'I am good, how about you?'
+@app.route("/about")
+def about():
+ return "Ini halaman About"
12
13
if __name__ == "__main__":
14
app.run(host="0.0.0.0", port=8080)
0 commit comments