Use of loops with “while”
Using a while in python is simple, very similar to an if. Only write “while (condition):”, and remember to leave a space under the while. and the end of the loop define the variable that will be used in the while.
Mastery19 by Pacok27 is licensed under a Creative Commons Attribution 4.0 International License.
