Basically, Flask is a minimalistic framework which behaves same as MVC framework. So MVC is a perfect fit for Flask, and the pattern for MVC we will consider for the following example:
//Configuration part
from flask import Flask
app = Flask(_name_)
//View part
@app.route("/")
Def hello():
return "Hello World"
//Model Part
app.run(debug = True)