python入門——列表簡介的相關練習

1.元素的增刪 friends = [ 'alice', 'bob', 'cindy', 'Tom'] for person in friends: print(person.title()+',how are you?\n') print( friends[1].title()+' is not here, but lucy have come here.\n') friends[1] = 'l
相關文章
相關標籤/搜索