Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

difference Python and Sage - integer and rational number

in Python, if k is an integer, equation k / 4 returns the integer part of k over 4, while in Sage, it returns a rational. How to work in Sage and change from result od divide from rational to Python ?

difference Python and Sage - integer and rational number

in Python, if k is an integer, equation k / 4 returns the integer part of k over 4, while in Sage, it returns a rational. How to work in Sage and change from result od divide from rational to like in Python ?

difference Python and Sage - integer and rational number

in Python, if k is an integer, equation k / 4 returns the integer part of k over 4, while in Sage, it returns a rational. How to work in Sage and change from result od divide from rational to like in Python ?? example: python 5 divide by 3 = 1 5 divide by 2 = 2 4 divide by 2 = 2

difference Python and Sage - integer and rational number

in Python, if k is an integer, equation k / 4 returns the integer part of k over 4, while in Sage, it returns a rational. How to work in Sage and change from result od divide from rational to like in Python ? ?

example: python 5 divide by 3 = 1 1 5 divide by 2 = 2 2 4 divide by 2 = 2

difference Python and Sage - integer and rational number

in Python, if k is an integer, equation k / 4 returns the integer part of k over 4, while in Sage, it returns a rational. How to work in Sage and change from result od divide from rational to like in Python ?

example: python 5 divide by 3 = 1

5 divide by 2 = 2

4 divide by 2 = 2

difference Python and Sage - integer and rational number

in Python, if k is an integer, equation k / 4 returns the integer part of k over 4, while in Sage, it returns a rational. How to work in Sage and change from result od divide from rational to like in Python ?

example: python python

5 divide by 3 = 1

5 divide by 2 = 2

4 divide by 2 = 2