How To display True when I have 2 equal consecutive numbers in a list or false when I have none | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How To display True when I have 2 equal consecutive numbers in a list or false when I have none

for eg list [1,1,1,3,4] True or list[1,3,4,5] false

21st Oct 2018, 10:24 PM
Ségolène
1 Answer
+ 1
thanks
21st Oct 2018, 10:40 PM
Ségolène