### Set of polynomial under a certain degree

~~Hello everyone,~~

My question is the following : how How to define the set of ~~the polynomial ~~polynomials with degree less than or equal ~~than ~~to a certain ~~number ?
~~number?

In my program I want to explore all ~~the polynomial ~~polynomials over a finite field with ~~a ~~degree less than or equal ~~than d.~~to `d`

.

For now, what I do is ~~:
~~:

```
R.<x> = PolynomialRing(GF(2^4))
```~~R.random_element(5)~~R.random_element(5)

But If I want to go through all these elements I can't use that since I get all of them...

Does someone have an idea of what I could ~~do ?
~~do?
Thank you in ~~advance~~

advance.
Camille