3 ms·
1/2 used to result in integer division, so it would return 0. In Python 3, integer division is spelled "1//2".
by jparise 17y ago
1/2 used to result in integer division, so it would return 0. In Python 3, integer division is spelled "1//2".
3 ms·