Talk:Exactly three adjacent 3 in lists

From Rosetta Code

[9,3,3,3,3,1,7,8,5][edit]

The task name is Exactly three adjacent 3 in lists. Should the output be true or false for [9,3,3,3,3,1,7,8,5] which has 4 adjacent 3's. Should a test be added to the task requirements?--Nigel Galloway (talk) 15:29, 28 December 2022 (UTC)

This is another Calmosoft task. He is notorious for vague, poorly specced tasks. Since the task specifies exactly 3 adjacent 3s, I choose to make that condition false. (See the Raku entry.) Whether you choose to make it so or not is up to you.
Another pertinent question, should [1,2,13,33,45,67] return true or false?
How about [1,2,3,'3',3,4,5] (An int, a string, and an int)?
It's all very loosey-goosey --Thundergnat (talk) 16:03, 28 December 2022 (UTC)