Sublime Forum

Anaconda and python versions

#1

Hi All - I am running anaconda and in notebook I have

from __future__ import print_function from __future__ import divisionin the first cell and 4 / 3
in the second cell
the output is

[quote]Out[9]:

1[/quote]

I thought that importing division would cause the output to be float not integer. What aren’t I understanding?

0 Likes