We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clr.pattern(*args)
Clr.rainbow(str)
Clr.pattern(Clr.BLACK, Clr.WHITE)
Clr.mirror(str)
Clr.reverse(str)
Clr.mirror()
[::-1]
abcdefghijklmnopqrstuvwxyz 0123456789 👇 68ㄥ9ϛㄣƐᄅƖ0 zʎxʍʌnʇsɹbdouɯlʞɾᴉɥƃɟǝpɔqɐ
The text was updated successfully, but these errors were encountered:
Hey, added : ) #23
Sorry, something went wrong.
No branches or pull requests
Idea 1 - Pattern
Clr.pattern(*args)
: should allow any number of Clr codes to be passed through, and looped in a pattern (similar toClr.rainbow(str)
)I should be able to do
Clr.pattern(Clr.BLACK, Clr.WHITE)
and get a black and white stringIdea 2 - Mirror
Clr.mirror(str)
: using a dictionary, swap each letter in a string with an upside versionIdea 3 - Reverse
Clr.reverse(str)
: basicallyClr.mirror()
except a reverse string is returned using indexing[::-1]
Here's the characters:
abcdefghijklmnopqrstuvwxyz
0123456789
👇
68ㄥ9ϛㄣƐᄅƖ0
zʎxʍʌnʇsɹbdouɯlʞɾᴉɥƃɟǝpɔqɐ
You need to:
The text was updated successfully, but these errors were encountered: