suppose we have to return the charccters in string "s" which are contained in the outermost pair of matching quotes and return nothing when there are no quotes
this is my code but its not working,can any one help me out
thanks
Code:
c = s.find('""')
if c != -1:
for item in s:
if c < len(z) -1 :
if c[k+1] == '""':
return char
else:
char = char + s[k+1]
c = c+ 1
return char
thanks
Comment