4 lines
121 B
Text
4 lines
121 B
Text
fcn stripper(text, a="/*", b="*/"){
|
|
while(xy:=text.span(a,b,True)){ x,y:=xy; text=text[0,x] + text[x+y,*] }
|
|
text
|
|
}
|