Horje
How to restart a loop Code Example
How to restart a loop
i=2
while i < n:
    if something:
       do something
       i += 1
    else: 
       do something else  
       i = 2 #restart the loop  




Python

Related
search for file in a whole system Code Example search for file in a whole system Code Example
loop only to  the 6th element python Code Example loop only to the 6th element python Code Example
delete specific indeces from numpy array Code Example delete specific indeces from numpy array Code Example
add service files in setup.py ROS2 Code Example add service files in setup.py ROS2 Code Example
activate virtual environment python windows 10 Code Example activate virtual environment python windows 10 Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7