Skip to content
#2417
Auto-translated
WizardNazyr, the reason for the freeze is the same. You already have the task1 function, which performs a similar function and works correctly. Just rewrite task2 in a similar way to task1. In task2, firstly, the loop will never end (while 1 do), and secondly, you need to add an else statement to the if condition, which will be executed until the condition is met, and include a sleep function in it.

Statistics

Welcome our newest member: Emil