0

Why does each number only print once?

I've tried to set this code up so that it prints each number from 1 to the number entered the number of times of that number. However, it only prints each number once so what is the problem? I think it has something to do with the while loop inside the while loop https://code.sololearn.com/Wb4QfhtjO8Wb/?ref=app

6th Mar 2018, 4:52 PM
jacksonofgames 28
jacksonofgames 28 - avatar
1 Answer
+ 1
Oh, I see now
6th Mar 2018, 6:09 PM
jacksonofgames 28
jacksonofgames 28 - avatar