Floor Division Assignment¶
Floor division assignment operator (//=
) can be used floor divide and assign value to a variable.
Syntax
variable //= expr
Example
a //= 3
b //= 4