+ 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

7th Jul 2019, 2:38 PM
AAYUSH PAGARE🇮🇳
AAYUSH PAGARE🇮🇳 - avatar
2 Antworten
+ 1
you were VERY close. Most important is to declare your variables outside your loops. https://code.sololearn.com/ckITZSaU57tX/?ref=app
7th Jul 2019, 8:06 PM
Choe
Choe - avatar
+ 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
7th Jul 2019, 2:53 PM
Airree
Airree - avatar