Python | sympy.Integer() method Last Updated : 14 Jul, 2019 Comments Improve Suggest changes Like Article Like Report With the help of sympy.Integer() method, we can convert the floating point to integer values and this method very efficient in term of memory if we want to save integer value. Syntax : sympy.Integer() Return : Return integer value. Example #1 : In this example we can see that by using sympy.Integer() method, we are able to convert the floating values to integer or optimize memory consumption. Python3 1=1 # import sympy from sympy import * # Use sympy.Integer() method gfg = Integer(50) + Integer(50) print(gfg) Output : 100 Example #2 : Python3 1=1 # import sympy from sympy import * # Use sympy.Integer() method gfg = Integer(12.36) + Integer(8.98) print(gfg) Output : 20 Comment More infoAdvertise with us Next Article Python | sympy IntegerPartition() method J jitender_1998 Follow Improve Article Tags : Python SymPy Practice Tags : python Similar Reads Python | sympy.is_integer method With the help of sympy.is_integer method, we can check whether element is integer or not this method will return the boolean value i.e True or False. Syntax : sympy.is_integer Return : Return True if integer else False. Example #1 : In this example we can see that by using sympy.is_integer method, w 1 min read Python | sympy.integer_nthroot() method With the help of sympy.integer_nthroot() method, we can find the nth roots of a number that is passed as a parameter in the sympy.integer_nthroot() method. It will return a tuple having two value one is root and the other is boolean value which shows that if the root is perfect or not. Syntax : symp 1 min read Python | sympy.integer_nthroot() method With the help of sympy.integer_nthroot() method, we can find the nth roots of a number that is passed as a parameter in the sympy.integer_nthroot() method. It will return a tuple having two value one is root and the other is boolean value which shows that if the root is perfect or not. Syntax : symp 1 min read Python | sympy.integer_nthroot() method With the help of sympy.integer_nthroot() method, we can find the nth roots of a number that is passed as a parameter in the sympy.integer_nthroot() method. It will return a tuple having two value one is root and the other is boolean value which shows that if the root is perfect or not. Syntax : symp 1 min read Python | sympy IntegerPartition() method With the help of sympy.combinatorics.partitions.IntegerPartition() method, we can get the elements in an array of subarrays that is passed as parameters in sympy.combinatorics.Partition().rank method. Syntax : sympy.combinatorics.partitions.IntegerPartition() Return : Return the partition of integer 1 min read Python | sympy IntegerPartition() method With the help of sympy.combinatorics.partitions.IntegerPartition() method, we can get the elements in an array of subarrays that is passed as parameters in sympy.combinatorics.Partition().rank method. Syntax : sympy.combinatorics.partitions.IntegerPartition() Return : Return the partition of integer 1 min read Like