nehalelkaref commited on
Commit
10d7087
1 Parent(s): 5fb566e

first push

Browse files
Files changed (2) hide show
  1. .~main.py +0 -7
  2. main.py +3 -3
.~main.py DELETED
@@ -1,7 +0,0 @@
1
- from flask import Flask, jsonify, request
2
-
3
- app = Flask(__name__)
4
-
5
- @app.route('/', methods=['GET'])
6
- def welcome():
7
- return "Hello World!"
 
 
 
 
 
 
 
 
main.py CHANGED
@@ -2,6 +2,6 @@ from flask import Flask, jsonify, request
2
 
3
  app = Flask(__name__)
4
 
5
- @app.route('/', methods=['GET'])
6
- def welcome():
7
- return "Hello World!"
 
2
 
3
  app = Flask(__name__)
4
 
5
+ @app.route("/")
6
+ def home():
7
+ return "<h1>GFG is great platform to learn</h1>"