1 | initial version |

You should read the doc before asking such questions here.

In particular, give a name to your object and use the automatic `TAB`

-completion to get the list of available methods. In this way, you can learn about the methods `.degree`

and `.variables`

by hitting the `TAB`

key after `toto.`

```
sage: sage: R = BooleanPolynomialRing(3, 'x')
sage: sage: x, y, z = R.gens()
sage: too = x+z
sage: sage: too.v # (pressing TAB key here)
too.variable too.vars_as_monomial
too.variables too.version
sage: too.variables()
(x0, x2)
sage: len(toto.variables())
2
```

2 | No.2 Revision |

You should read the doc before asking such questions here.

In particular, give a name to your object and use the automatic `TAB`

-completion to get the list of available methods. In this way, you can learn about the methods `.degree`

and `.variables`

by hitting the `TAB`

key after `toto.`

```
sage: sage: R = BooleanPolynomialRing(3, 'x')
sage: sage: x, y, z = R.gens()
sage: too = x+z
sage: sage: too.v # (pressing TAB key here)
too.variable too.vars_as_monomial
too.variables too.version
sage: too.variables()
(x0, x2)
sage:
```~~len(toto.variables())
~~len(too.variables())
2

3 | No.3 Revision |

You should read the doc before asking such questions here.

In particular, give a name to your object and use the automatic `TAB`

-completion to get the list of available methods. In this way, you can learn about the methods `.degree`

and `.variables`

by hitting the `TAB`

key after ~~toto.~~too.

```
sage: sage: R = BooleanPolynomialRing(3, 'x')
sage: sage: x, y, z = R.gens()
sage: too = x+z
sage: sage: too.v # (pressing TAB key here)
too.variable too.vars_as_monomial
too.variables too.version
sage: too.variables()
(x0, x2)
sage: len(too.variables())
2
```

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.