【发布时间】:2020-08-04 07:37:53
【问题描述】:
我有 4 个arrays 想要打印到如下所示的表格中:
Item Code, Item, Price, Item Stock
001, Pencil, 10, 738
等等从这4个arrays:
item_code = ["Item Code", "001", "002", "003", "004", "005", "006", "007", "008", "009", "010"]
item = ["Item", "Pencil", "Pen", "Eraser", "Paper", "Notebook", "Highlighters", "Card", "Stapler", "Paperclip", "Marker"]
item_price = ["Price", "10", "5", "2", "15", "20", "23", "26", "13", "17", "21"]
item_stock = stock() # This is calculated in another subheading
我该怎么做?
【问题讨论】:
标签: python arrays list printing