s=" a  b   c    "
" ".join(s.split())

 awesome python!

相关文章:

  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
  • 2021-07-02
  • 2021-05-23
  • 2022-12-23
  • 2021-04-08
猜你喜欢
  • 2021-09-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
相关资源
相似解决方案