Python程序设计week03Q2

这是中国大学MOOCPython课程第三周测验的第二道编程题 字符串分段组合 s = input() strings = s.split('-') print(strings[0] + '+' + strings[-1])
相关文章
相关标签/搜索