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
相关文章
相关标签/搜索