import prettytable as pttb1 = pt.PrettyTable() tb1.field_names = [“ID”, “Name”, “Age”, “Class”] tb1.add_row([“001”, “Bowen”, 18 , “1A”])
確定! 回上一頁