check if current node lies between n1 and n2
if curr . data <= n2 and curr . data >= n1 : NEW_LINE INDENT print ( curr . data , end = " ▁ " ) NEW_LINE DEDENT curr = curr . right NEW_LINE else : NEW_LINE pre = curr . left NEW_LINE