Uploaded April 2017 | Updated November 2026, 2 hours ago
In this video we'll look at the basic arithmetic operators available in Python and the differences between integers and floating point.
I should have mentioned that integer division rounds towards Zero. For example, 20/7 is closer to 3 than 2, but integer division doesn't round towards the closest answer, it rounds towards 0, any remainder is simply chopped off!
Patreon:
patreon.com/whatsacreel
FaceBook:
facebook.com/whatsacreel
Music Channel:
youtube.com/channel/UC2nWRGqPL6O-Lm8mexWhISQ
In this video we'll look at the basic arithmetic operators available in Python and the differences between integers and floating point.
I should have mentioned that integer division rounds towards Zero. For example, 20/7 is closer to 3 than 2, but integer division doesn't round towards the closest answer, it rounds towards 0, any remainder is simply chopped off!
Patreon:
patreon.com/whatsacreel
FaceBook:
facebook.com/whatsacreel
Music Channel:
youtube.com/channel/UC2nWRGqPL6O-Lm8mexWhISQ










