I will give overview of my project so that you can understand more,
I am building a bot which answers python questions means someone wants to learn python then bot can teach him. learner will ask questions like what is list, what is tuple ,show me list program, show me for loop program.
so when, for loop program will come then bot answers should consist indentation, so what should I do in that situation I used “\n” for new line and “\t” for tabs but that tabs are too long, it make program doesn’t follow pretty printing.
I saw old version just used " > " operator and outputs programs nicely but I don’t think new version supports “>”.
it would be very great help if you suggest any idea to such scenario.