answer:Hm…. Well if there are 10 segments, then there are 9 joins. Each joint can be bent left, right or straight. So an upper bound would be 3^9 = 19683. That doesn’t account for the “fail” when a snake crosses itself. So the answer is less than that. You can’t just tally the lefts or rights either. Because LLSLSL is okay, but LLLLSS is not.