Skip to main content

Course

Python

PythonPart 1 of 7 · Chapter 4 of 4

Arithmetic, and Where It Surprises You

Two slashes and one slash look like a typo of each other, and they hand back different types on purpose. Divide the same two numbers both ways and see exactly where a float appears uninvited.


Make a free account to read on

Every chapter is free — an account lets your course progress follow you from your laptop to your phone. No payment, no trial.