您好,我的输出如下:
NixonOp 11.99 Operations
Cable Management 29.59 IT Department
Server Maintenance 30.5915 IT Department
Management Lessons 89.541 Management
O-Class 155.514 IT Department
MngAPP 174.99 IT Department
我想这样:
NixonOp 11.99 Operations
Cable Management 29.59 IT Department
Server Maintenance 30.5915 IT Department
Management Lessons 89.541 Management
O-Class 155.514 IT Department
MngAPP 174.99 IT Department
问题是这里显示的所有值都是 3 个向量的一部分,一个用于名称,一个用于价格,一个用于部门(最后一列),并使用 for 循环输出。有没有办法让它看起来像这样?