🔥 3-day streak
GitHub Copilot161 / 190
Question 161 of 190
A developer asks Copilot Chat: "Write a function to validate email addresses." The output uses a naive regex, has no return-type annotation, and includes no docstring. The developer's team requires typed Python functions, Google-style docstrings, and rejection of addresses longer than 254 characters. Which single change to the prompt would most reliably produce output matching the team's requirements on the first attempt?
Reviewed for accuracy · Report an issueNext question