Skip to content

Commit ab58374

Browse files
committed
update
1 parent 5b2d656 commit ab58374

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from flask import *
2+
3+
app = Flask(__name__)
4+
5+
6+
@app.route('/')
7+
def home():
8+
return " Hi Champs of AIML "
9+
10+
@app.route('/wel/<uname>')
11+
def welcome(uname):
12+
return render_template('welcome.html',name=uname)
13+
14+
if __name__ == '__main__':
15+
app.run()
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<html>
2+
<body bgcolor=yellow>
3+
<h1> Welcome AIML Champs </h1> {{ name }}
4+
<hr>
5+
@written in flask
6+
<a href=/> back to home </a>
7+
</body>
8+
</html>

0 commit comments

Comments
 (0)