Trees: count values in range — Python practice — Live Code Tutor