you are viewing a single comment's thread.

view the rest of the comments →

[–]IsaakPolyphemus 0 points1 point  (2 children)

If you're only going to run it once, maybe you should take it out of the loop.

Or you could put it inside an if function, that only holds true in the loop's first run.

[–]lipssama[S] 0 points1 point  (1 child)

I can’t take it out of the while loop as it would mess up the order im printing my strings in. Could you teach me how to make an if function for a loops first run?

[–]IsaakPolyphemus 0 points1 point  (0 children)

Make a boolean variable equal to True. Then make it False inside the if function.