python list 的初始化

產生一個固定長度的list: 比如 長度爲5 , 裏面內容都是0x55aa的list sample_list = [0x55aa for i in range(10)]     sample_list = [0x8]*5  
相關文章
相關標籤/搜索