Question: I need code in Phyton that will detect consecutive numbers ,and numbers not in range. for example if we have 1,2,3,5,9,10,11,15 the function would we
I need code in Phyton that will detect consecutive numbers ,and numbers not in range.
for example if we have 1,2,3,5,9,10,11,15
the function would we want to store 1,2,3 in a separate array then 5, in separate, then 9,10,11 in separate and 15 separate
i will use this function in my code to append it to somewhere else.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
