+ 2

Why is this code showing no output ?

I was trying to make it output true if it's the factors of a number are less than four. https://code.sololearn.com/cf7Zv1vbGYQF/?ref=app

5th May 2020, 3:13 PM
Joseph Oritseweyinmi
Joseph Oritseweyinmi - avatar
2 Respuestas
+ 3
Hey, just change num < x to x < num. It will work just fine :)) Wrong : num < x Correct : x < num
5th May 2020, 3:17 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
+ 3
Thanks Arb Rahim Badsa
5th May 2020, 3:27 PM
Joseph Oritseweyinmi
Joseph Oritseweyinmi - avatar