Question: How can i split the input number like shown in the picture(splitting the length of the first input into sequence based on the second number

How can i split the input number like shown in the picture(splitting the length of the first input into sequence based on the second number input), and how to identify if the sequence is increasing or decreasing (Python)
Help Please
Input a large whole number: 123456 Input the split (whole number): 2 12, 34, 56 Sequence is increasing RESTART Input a large whole number: 121289 Input the split (whole number): 2 12, 12, 89 Sequence is not increasing RESTART
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
