If a list looks like this:
['wo/od', 'axe/es']
and for replacing "/" with nothing "" I am using following code but its not working.
for lines in z:
if lines == "/"
lines.replace = ""
I am new to python Any help would be appreciated. I am also not allowed to hardcode it.