Skip to content

Instantly share code, notes, and snippets.

@simonw

simonw/rs.md Secret

Created May 25, 2025 16:18
Show Gist options
  • Select an option

  • Save simonw/2652bca69523173aa191fc19ba5f5ec8 to your computer and use it in GitHub Desktop.

Select an option

Save simonw/2652bca69523173aa191fc19ba5f5ec8 to your computer and use it in GitHub Desktop.

2025-05-25T16:17:16 conversation: 01jw43r07pvqawz9fh431qx3gy id: 01jw43qxfds4t0ry5f1hscgh4y

Model: anthropic/claude-sonnet-4-0

Prompt

How many Rs in strawberry?

Response

To count the Rs in "strawberry", I'll go through each letter:

s-t-r-a-w-b-e-r-r-y

The Rs appear in positions:

  • 3rd position: r
  • 8th position: r
  • 9th position: r

There are 3 Rs in the word "strawberry".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment