After you have entered a number, you must count the number from 0 to 9 (without a count function).
111222333444567 (Input value)
Output
0 1 2 3 4 5 6 7 8 9
0 3 3 3 3 1 1 1 0 0
The output must be like that
python
I answered you below, but why are you posting the same thing again?
© 2024 OneMinuteCode. All rights reserved.