用Python将list转换为table

2024-04-25 22:27:31 发布

您现在位置:Python中文网/ 问答频道 /正文

我怎样才能转动students = [("Abe", 200), ("Lindsay", 180), ("Rachel" , 215)]

进入:

Abe     200

Lindsay 180

Rachel  215

这应该可以用于任何大小的列表。


Tags: 列表abestudentsrachellindsay