about one function that splits a string with several chars in python -
This is a function that I have found on the internet, but I'm not sure that the line s, res = res , []
Meaning, can anyone explain this to me? Thanks a lot! S: res + = seq .split (sep) in SEC for def my_split (s, seps): res = [s] sps in SSP: s, res = res, [] Returns
s, res = res, []
< / Pre>tool
s = res res = []
Replacement of variables in a row.
Comments
Post a Comment