Closed p-j-smith closed 9 months ago
Changes made:
Remove examples and discussion of Python 2 from ch00python/023types.ipynb
ch00python/023types.ipynb
Change discussion about how the behaviour of operators depends on the types of the operands
int
float
Mention that division always returns a float. To perform integer division the divmod function can be used
divmod
Added note about always using at least one digit after a decimal point to improve readability
No worries! I've just re-run the notebook
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Changes made:
Remove examples and discussion of Python 2 from
ch00python/023types.ipynb
Change discussion about how the behaviour of operators depends on the types of the operands
int
s vsfloat
sMention that division always returns a float. To perform integer division the
divmod
function can be usedAdded note about always using at least one digit after a decimal point to improve readability