0

Cheer creator case 4 help

I’m having problems with the fourth problem https://code.sololearn.com/cmyiNh1Rp46D/?ref=app

13th Sep 2020, 7:06 PM
Gerard Gaskin
Gerard Gaskin - avatar
2 odpowiedzi
+ 1
Don't use while. Don't increment x Set condition between 1 and 10 no need to 9.
13th Sep 2020, 7:11 PM
HBhZ_C
HBhZ_C - avatar
0
Instead of x++, write x--; and make x<=9 && x>=1 But put while last... After if else Instead of if, use of if else is better not to confuse....
13th Sep 2020, 8:46 PM
Jayakrishna 🇮🇳