First time here? Check out the FAQ!
answered 2021-01-19 09:18:48 +0100
You can get the documentation of the random_element method by typing:
random_element
sage: R1.random_element?
As you can see, you can specify the degree, so the following should work:
sage: R1.random_element(degree=1)