Use of shift operator to make L = L / 2 after every iteration
L = L >> 1 NEW_LINE j += 1 NEW_LINE print ( str ( k ) + " th ▁ parent ▁ of ▁ node ▁ " + str ( n ) + " ▁ is ▁ = ▁ " + str ( x ) ) NEW_LINE return NEW_LINE