Counting numbers using for or while

Asked 2 years ago, Updated 2 years ago, 15 views

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

2022-09-20 19:23

1 Answers

I answered you below, but why are you posting the same thing again?


2022-09-20 19:23

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.