I used a fresh opened Sage session.
I didn't define my own function.
Even when I tried with your first line example, without anything else in a
new Sage session, I got :
./sage
┌┐
│ SageMath version 8.6, Release Date: 2019-01-15
On Wed, Mar 13, 2019 at 4:04 AM Ai Bo wrote:
>
> I also tried with the example in the document but I got different result.
> sage: for i in range(7):
> : print(len(list(graphs(i
Did you try this in a freshly opened Sage session?
In Python it is possible to break functionality of the
I also tried with the example in the document but I got different result.
sage: for i in range(7):
: print(len(list(graphs(i
:
1
0
0
0
0
0
0
In the
document:
http://doc.sagemath.org/html/en/reference/graphs/sage/graphs/graph_generators.html
sage: for i in range(7)::