I tried to print output in a nice table using texttable, code given below
from texttable import Texttable
t = Texttable()
t.add_rows([['Name', 'Age'], ['Alice', 24], ['Bob', 19]])
print(t.draw())
the code works fine and gives an output
but the output i got is; distorted output in IDLE how can i tackle this?
EDIT: Got the solution; change to monospaced font.(courier is a good choice)