Python 語法基礎 列表List

列表List: game = [ 'Rock', 'Paper', 'Scissors', 'Lizard', 'Spock'] game.index('Paper') game.append('Mike') game.insert(0,'Computer') game.remove('Paper') game.pop()  #remove the end item of list game.po
相關文章
相關標籤/搜索