剑指offer python版 替换空格

print('dd dd add'.replace(' ','dd'))        
    
原文地址:https://www.cnblogs.com/xzm123/p/9847854.html