Last active
July 17, 2024 13:40
-
-
Save beatorizu/7bc2c4ad9a5f39effd28d93c4557e341 to your computer and use it in GitHub Desktop.
Show the letter in the 2010th position
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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