answered 2 years ago
Just use:
sage: I.dimension()
updated 2 years ago
Just You link is refering to the dimension of the ideal, so you can just use: