Answers for "// meaning in python"

6

// meaning in python

##  // Returns the integer value of the quotient 

eg 906 / 100 = 9.06

906 // 100 = 9
Posted by: Guest on February-09-2021
0

//= python meaning

#Performs floor-division on the values on either side. Then assigns it to the expression on the left.
>>> a=6
>>> a//=3
>>> print(a)
2
Posted by: Guest on April-06-2020

Python Answers by Framework

Browse Popular Code Answers by Language