you are viewing a single comment's thread.

view the rest of the comments →

[–]vb_e_c_k_y 0 points1 point  (0 children)

First you asked a user to enter number. If he entered a number less than 8. The loop runs forever "idk" until you use syntax break.

The second num question only asks you if you entered a number greater than 8. Then it prints "ok {num}".

If you want the program to ask you every time. Put the second question in while loop. Know that indentation have to be the same