python librarby to clean strings from certain characters code example
Example 1: how to remove all characters from a string in python
s = 'abc12321cba'
print(s.replace('a', ''))
Example 2: how to remove cases from string in python
string = "PYTHON IS AWESOME"
# print lowercase string
print("Lowercase string:", string.casefold())