0

I have to divide two positive integers in Python 2 but I can't get the desired output.

like this:

>>> 2/6

The output should be

1/3 

but it outputs zero like this:

0
jonrsharpe
  • 115,751
  • 26
  • 228
  • 437

0 Answers0