2 zhoulexuan ZHOULEXUAN 于 2014.10.24 12:40 提问

新手求解 python !!!!!

def split_on_separators(original, separators):
""" (str, str) -> list of str

Return a list of non-empty, non-blank strings from original,
determined by splitting original on any of the separators.
separators is a string of single-character separators.

>>> split_on_separators("Hooray! Finally, we're done.", "!,")
['Hooray', ' Finally', " we're done."]
"""

# To do: fill in this function's body to meet its specification.
# You are not required to keep the two lines below but you may find
# them helpful. (Hint)
result = [original]
return result
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!