Skip to content

Glossary: Python Basics

//

Also written: floor division, whole-number division

The operator that divides and keeps only the whole-number part. `20 // 6` is 3, the number of full boxes of 6 that 20 mugs can fill.

Where the book teaches it