

@app.route('/')
def index():
    months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
    weather = {
        'January': {
            'min': 38,
            'max': 47,
            'rain': 6.14,
        },
        'February': {
            'min': 38,
            'max': 51,
            'rain': 4.79,
        },
        'March': {
            'min': 41,
            'max': 56,
            'rain': 4.5,
        },
        'April': {
            'min': 44,
            'max': 61,
            'rain': 3.4,
        },
        'May': {
            'min': 49,
            'max': 67,
            'rain': 2.55,
        },
        'June': {
            'min': 53,
            'max': 73,
            'rain': 1.69,
        },
        'July': {
            'min': 57,
            'max': 80,
            'rain': 0.59,
        },
        'August': {
            'min': 58,
            'max': 80,
            'rain': 0.71,
        },
        'September': {
            'min': 54,
            'max': 75,
            'rain': 1.54,
        },
        'October': {
            'min': 48,
            'max': 63,
            'rain': 3.42,
        },
        'November': {
            'min': 41,
            'max': 52,
            'rain': 6.74,
        },
        'December': {
            'min': 36,
            'max': 45,
            'rain': 6.94,
        },
    }
    return render_template('index.html', city='Portland, OR', months=months, weather=weather)

dataset/ETHPy150Open miguelgrinberg/oreilly-intro-to-flask-video/2c/weather.py index/original