Last active
April 17, 2025 00:23
-
-
Save s-weigand/9fef4773d95419ad93ee273c5fecdb39 to your computer and use it in GitHub Desktop.
python mock word formatting
This file contains hidden or 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
| "".join(c.upper() if i % 2 != 0 else c.lower() for i, c in enumerate(input("This word doesn't work like this: "))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment