Skip to content

The gym for working with AI.

Daily puzzleSpot the flaw#2
AI output · AI answer
  1. user

    How do I make requests.get retry three times on connection errors?

  2. assistant

    Pass the retry count straight to the call: resp = requests.get(url, retries=3, timeout=5) This retries up to three times on connection errors and then raises.

Why will this suggestion not work as described?

Pick a door

For engineers

Start for engineers

For everyone

Start for everyone

11 tracks · 47 domains · 525 skills

Open map

Get updates

Learn more

Your email is used only for this list. Every message has an unsubscribe link.