Code Room
Code reviewHard
Question
Review this Python Flask endpoint that renders a personalized greeting.
What a strong answer looks like
Separate real bugs from style. Rank issues by severity, point at the root cause rather than the symptom, and suggest a concrete fix — specific and kind.
Learn the concepts
from flask import request, render_template_string @app.route('/hello')def hello(): name = request.args.get('name', 'there') template = f"<h1>Hello {name}!</h1>" return render_template_string(template)Run or narrate your approach, then ask the coach.