d = [ ["Mark", 12, 95],
["Jay", 11, 88],
["Jack", 14, 90]]
print ("{:<8} {:<15} {:<10}".format('Name','Age','Percent'))
for v in d:
name, age, perc = v
print ("{:<8} {:<15} {:<10}".format( name, age, perc))
import pandas as pd
d = [ ["Mark", 12, 95],
["Jay", 11, 88],
["Jack", 14, 90]]
df = pd.DataFrame(d, columns = ['Name','Age','Percent'])
print(df)