Question: Write a Python function, named find_consecutives, which accepts a tuple of integers as input. The function will find and return a list of consecutive numbers

Write a Python function, named "find_consecutives", which accepts a tuple of integers as input. The function will find and return a list of consecutive numbers in the input tuple. $\begin{array}{rll}\text { Example: } & \text { Input list: } & (2,8,4,6,1,2,8,4,7,9,5,6,7) 1 & \text { Returned list: } & {[[1,2],[5,6,7]]}\end{array}$ CS.PC.008
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
