I am new to Python and I have been getting a bit confused with WHILE loops. I am wondering if the incremental step in WHILE loops, i +=1 (if temporary variable = i) can be changed to, say, i += 2. Also, under what circumstances might we want to completely leave out the incremental step and simply have a WHILE loop execute ‘forever’, can anyone give an example?
For some reason, I always forget to type out the incremental step, assuming that my condition will naturally stop executing when False. I guess I need to step up my game and get more practice!