from flask import Flask
app = Flask(__name__)


from pymongo import MongoClient

connection = MongoClient()


@app.route("/")
def hello():
	
        return connection.essa.users.find({}).next()['name']

@app.route('/halla/<username>')
def hi(username):
	return "Halla " + username

@app.route('/add/<int:x>/<int:y>/')
def sum(x,y):
	return str( x+y)

@app.route('/test')
def test():
	return "test"


	
app.debug = True

if __name__ == "__main__":
        app.run("0.0.0.0")

# this is the new comment


from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello World!'

if __name__ == '__main__':
    app.run()

from flask import Flask
app = Flask(__name__)


from pymongo import MongoClient

connection = MongoClient()


@app.route("/")
def hello():
	
        return connection.essa.users.find({}).next()['name']

@app.route('/halla/<username>')
def hi(username):
	return "Halla " + username

@app.route('/add/<int:x>/<int:y>/')
def sum(x,y):
	return str( x+y)

@app.route('/test')
def test():
	return "test"


	
app.debug = True

if __name__ == "__main__":
        app.run("0.0.0.0")


Update the tags