这是中国大学MOOCPython课程第三周测验的第二道编程题
字符串分段组合
Python程序设计week03Q2

s = input()
strings = s.split('-')
print(strings[0] + '+' + strings[-1])

相关文章:

  • 2021-04-11
  • 2022-12-23
  • 2022-01-09
  • 2021-10-29
  • 2021-12-02
  • 2021-05-30
  • 2021-04-13
  • 2021-05-21
猜你喜欢
  • 2021-12-09
  • 2021-09-19
  • 2021-12-03
  • 2021-09-26
  • 2021-09-13
  • 2021-07-18
  • 2021-06-30
相关资源
相似解决方案