标签: python
lword = (bword.lower()) word = str(lword) spaces = [] for spaces in word: if spaces == ' ': spaces.append (' ') else: spaces.append('_') print (spaces)
如果它在Python 2.7中,它会如何?