putting a sage program inside a loop with out modifying the indentation
I have written a simple program on sage, in which I will define a graph G at the beginning , and the program will return a matrix. now I want the program to return all such matrices corresponds to all trees of order 5. So basically I want to iterate the program over the list of all trees of order 5. But when I doing so, I need to change the indentation of each and every line of the program as I am putting all of them inside a loop. is there any way of getting rid of this problem, my program has more than 50 lines so it looks difficult to change the indentation . one thing I thought was using goto command, but I dont know how to use it.
Any suggestion would be appreciated.
Thanks a lot.
get an editor that makes it easy to increase the indentation of the whole block. The sage notebook itself does that.
can you please tell me how to increase the whole indentation in sage notebook? thanks