How to get a random element from an array thats different from previous one?

Except that one doesn’t make sure the next item is not the same as the previous item, which was the main thrust of this question.

2 Likes