tabulate has many options to specify headers and table format. print(tabulate([['Alice', 24], ['Bob', 19]], headers=['Name', 'Age'], tablefmt='orgtbl'))
確定! 回上一頁