remove certain charactor in string python code example
Example 1: python remove string from string
s = 'ab12abc34ba'
print(s.replace('ab', ''))
Example 2: how to remove cases from string in python
string = "PYTHON IS AWESOME"
# print lowercase string
print("Lowercase string:", string.casefold())