0

Here is the code and output I am getting ,it is very much misaligned

sqlp="\nSELECT * FROM participants"
sqlsp="SELECT * FROM participants where ID=%s"
h=["Student ID","Name","School Name","Grade","Score"]
print(tabulate(data,headers=h,tablefmt="github",stralign="left",numalign="left"))

Output: Output of the tabulation

Please help me to solve it

0 Answers0