Answers for "python remove letters in string"

13

python remove string from string

s = 'ab12abc34ba'
print(s.replace('ab', ''))
Posted by: Guest on September-12-2020
0

how to remove a string in python

shop = ["Python", "js" , "c#"]
shop.remove("js")

for x in shop:
    print(x)
Posted by: Guest on February-23-2022

Code answers related to "python remove letters in string"

Python Answers by Framework

Browse Popular Code Answers by Language