print(‘dd dd add‘.replace(‘ ‘,‘dd‘))
剑指offer python版 替换空格
原文:https://www.cnblogs.com/xzm123/p/9847854.html