I have a tuple like this - ('app(le', 'orange', 'ban(ana') I want to remove bracket "(" from the words app(le and ban(ana. I have done it this way:
a=("App(le", "M(nago","banana")
b= list(a)
c = []
for x in b:
x = x.replace("(","")
c.append(x)
c=tuple(c)
This is giving me the desired output. But I want to do it without using for loop.