Skip to content

Instantly share code, notes, and snippets.

@beatorizu
Last active July 17, 2024 13:40
Show Gist options
  • Save beatorizu/7bc2c4ad9a5f39effd28d93c4557e341 to your computer and use it in GitHub Desktop.
Save beatorizu/7bc2c4ad9a5f39effd28d93c4557e341 to your computer and use it in GitHub Desktop.
Show the letter in the 2010th position
pattern = 'MATHLETE'
pattern[(2010 % len(pattern)) - 1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment