mardi 21 septembre 2021

Is there a way to repeat a loop with same iteration?

Is there a way to repeat a loop with same iterator without i incrementing by 1?

    for i in range(100):
        random_function()
        if status_code != 200:
            #repeat function with same iterator without incrementing by 1. 

Aucun commentaire:

Enregistrer un commentaire