$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · medium · #39

Fill the operator for integer (floor) division of the midpoint.

lo, hi = 0, len(a) - 1
mid = (lo + hi) ____ 2

Answer: // (also accepted: //)

// is floor division, keeping mid an integer index.
Play Problem Solving ▸