Skip to content

Instantly share code, notes, and snippets.

@rogeriochaves
Last active January 5, 2020 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rogeriochaves/14a8f4f4a36b25bc09e344f8f8a38e68 to your computer and use it in GitHub Desktop.
Save rogeriochaves/14a8f4f4a36b25bc09e344f8f8a38e68 to your computer and use it in GitHub Desktop.
from flask import Flask, render_template, request
# we will need those imports later
import random
import numpy as np
app = Flask(__name__)
@app.route('/')
def index():
return render_template('index.html', question=1, question_text="Hello world?")
if __name__ == '__main__':
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment