import random from flask import * from PIL import Image, ImageDraw, ImageFont import io
app = Flask(__name__)
@app.route('/') def index():
flag = '' for i in range(5):
n = random.randint(0, 9) if n < len(range(5)): if i < 3:
n = chr(random.randint(65, 90)) else:
n = chr(random.randint(97, 122))
flag += str(n)