how to correct my loop that did not work correctly | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

how to correct my loop that did not work correctly

i want the input 3 // this loop that did not work correctly < 3 < 3 < 3 the output suppose to be < (less mark) form repeated 3 times but this code only give 1 times https://code.sololearn.com/cL34iL6Xv6p8/?ref=app

24th Oct 2018, 4:54 PM
Yoaraci
Yoaraci - avatar
1 Answer
0
So you basically want that if the user inputs 3, then the code should output: < 3 < 3 < 3 ?
31st Oct 2018, 3:01 PM
Uni
Uni - avatar