I dont understand what does // means plse help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I dont understand what does // means plse help

7th Jan 2018, 12:40 PM
Eusuf Ahmed
2 Answers
+ 14
// indicates the floor division... For normal 5/2 the answer will be 2.5 But when you do floor division, the quotient is obtained in int form i.e 5//2 will be 2 ( digits after decimal are neglected) It returns the lowest int of the quotient https://www.tutorialspoint.com/JUMP_LINK__&&__python__&&__JUMP_LINK/python_basic_operators.htm
7th Jan 2018, 12:43 PM
Frost
Frost - avatar
0
Which means saving the quotient only.
8th Jan 2018, 10:38 AM
Naruto Qing
Naruto Qing - avatar