# Python | sympy.combinatoric.Polyhedron() method

With the help of `sympy.combinatoric.Polyhedron()` method, we can get the value of polyhedron by passing list of characters in it by using `sympy.combinatoric.Polyhedron()` method.

Synatx :
`sympy.combinatoric.Polyhedron()`

Return :
Return the value of polyhedron.

Example #1 :
In this example we can see that by using `sympy.combinatoric.Polyhedron()` method, we are able to get the value of polyhedron by passing list as a parameter.

 `# import sympy and Polyhedron ` `from` `sympy.combinatorics ``import` `Polyhedron ` `from` `sympy.abc ``import` `a, b, c, d, e ` `    `  `# Using sympy.combinatorics.Polyhedron method ` `gfg ``=` `Polyhedron(``list``(``'abdce'``)) ` `  `  `print``(gfg) `

Output :

Polyhedron((a, b, d, c, e), (), ())

Example #2 :

 `# import sympy and Polyhedron ` `from` `sympy.combinatorics ``import` `Polyhedron ` `    `  `# Using sympy.combinatorics.Polyhedron method ` `gfg ``=` `Polyhedron([[``1``, ``2``, ``3``], [``4``, ``5``, ``6``]]) ` `  `  `print``(gfg) `

Output :

Polyhedron(([1, 2, 3], [4, 5, 6]), (), ())

My Personal Notes arrow_drop_up Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :

Be the First to upvote.

Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.