Python Shorthand Operator?
I was researching some information on the topic of trial division, and I came across this symbol in Python: //= I got this from here where the code in the example says: n //= p I can't tell what this is supposed to mean, and my research continues to bring poor results in terms of webpages. // is integer division and the n //= p syntax is short for n = n // p except the value n is modified directly if it supports this . When you see an operator followed by an = , that is performing the operation and then assigning it into the variable. For example, x += 2 means x = x + 2 or add 2 to x . The //