+ 1
See.....if you enter 3 in input of this code it should print but it is not like that.... If any genius can help me out plz
***** *** * https://code.sololearn.com/cJPDW6mBxV07/?ref=app
2 Respostas
+ 1
you were VERY close. Most important is to declare your variables outside your loops.
https://code.sololearn.com/ckITZSaU57tX/?ref=app
+ 2
Your code is kind of messed up. But there is a way easier way to do this:
https://code.sololearn.com/cvF9vt9PH08H/?ref=app