Last active
November 26, 2020 17:38
-
-
Save StuffbyYuki/463d94d80c210853da2f75d79cce00b9 to your computer and use it in GitHub Desktop.
Python: My Codebase for String Manipulations
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
| def clean_astring(self, string): | |
| """return a lower-cased string without any space""" | |
| return string.strip().replace(' ', '').lower() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment