PYTHON常見數據類型示例

shoplist = ['apple', 'mango', 'carrot', 'banana'] print('I have ', len(shoplist), ' items to purchase.') print('These items are: ', end = '') for item in shoplist: print(item, end = ' ') print(
相關文章
相關標籤/搜索