anyone can tell me how can I solve this please; I have this:
dct = {
"A": ['None', 'None', 'None'],
"B" : ['None', 'None', 'None'] ,
"C": ['None', 'None', 'None'] ,
"D": ['None', 'None', 'None']
}
any ideas please ?
this is my code:
def pretty_table(dct):
table = PrettyTable()
for c in dct.keys():
table.add_column(c, [])
table.add_row([dct.get(c, "") for c in dct.keys()])
print(table)