How do I pass python beginner practice for (Continue topic) It seem broken | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I pass python beginner practice for (Continue topic) It seem broken

I tired the solution that was there but it keeps saying no output

9th Jul 2022, 5:03 PM
Malik
Malik - avatar
4 Answers
+ 2
We cannot help you if we cannot see your code. Please LINK YOUR CODE and mention the task number.
9th Jul 2022, 5:20 PM
Lisa
Lisa - avatar
0
Here it is
10th Jul 2022, 12:27 PM
Malik
Malik - avatar
0
Look at the head of your while-loop: x is 0 in the beginning, so 0 > 5 is False. You need to write x < 5 so the code in loop is executed.
10th Jul 2022, 12:36 PM
Lisa
Lisa - avatar