What does // mean in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What does // mean in python?

please give an example

11th Jun 2017, 3:49 PM
Will F
Will F - avatar
1 Answer
+ 9
Floor division, ignores decimal values. 5//2 == 2 6//4 == 1 7//3 == 2 8//4 == 2
11th Jun 2017, 3:57 PM
Hatsy Rei
Hatsy Rei - avatar