GET YOUR DATA IN TABULAR FORM
Source Code:-
01 02 03 04 05 06 07 08 09 10 11 12 13 14 | # Required Module:- pip install tabulate from tabulate import tabulate # input the data data = [[ "Arun" , 18 , 95 ], [ "Rahul" , 19 , 88 ], [ "Shiva" , 21 , 90 ]] # arrange the data in table form table = tabulate(data, headers = [ "Name" , "Age" , "Percent" ]) # print the data in Tabular form print (table) |
# Required Module:- pip install tabulate from tabulate import tabulate # input the data data = [["Arun", 18, 95], ["Rahul", 19, 88], ["Shiva", 21, 90]] # arrange the data in table form table = tabulate(data, headers=["Name", "Age", "Percent"]) # print the data in Tabular form print(table)
0 Comments