Answers for "remve from a string python"

12

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 "remve from a string python"

Python Answers by Framework

Browse Popular Code Answers by Language