<gh_stars>0
from flask import Flask, render_template, request, redirect, session
app = Flask(__name__)      

@app.route('/')
@app.route('/play')
def level_one():
    return render_template("Index.html", num=3)


@app.route('/play/<int:num>')
def level_two(num):
    return render_template("index.html", num=num)


@app.route('/play/<int:num>/<string:color>')
def level_three(num, color):
    return render_template("index.html", num=num, color=color)

if __name__=="__main__": 
    app.run(debug=True)  
from flask import Flask, render_template, request, redirect, session
app = Flask(__name__)      

@app.route('/')
@app.route('/play')
def level_one():
    return render_template("Index.html", num=3)


@app.route('/play/<int:num>')
def level_two(num):
    return render_template("index.html", num=num)


@app.route('/play/<int:num>/<string:color>')
def level_three(num, color):
    return render_template("index.html", num=num, color=color)

if __name__=="__main__": 
    app.run(debug=True)