vendredi 18 septembre 2020

Need proper comments for all lines of the of the algorithm identifying their action/purpose. I am new to python so need some help here, thanks [closed]

for i = 0 to n; step 1

   for j = i+1 to n; step 1

       for k = j+1 to n; step 1

          if a[i] + a[j] + a[k] = 0

print a[i] + " " + a[j] + " " + a[k]

Aucun commentaire:

Enregistrer un commentaire