Counters Example www.michaelliut.ca/cs1md3 Counter Example i = 1 while (i <= 3): print (str(i)) i++ # Increments the counter print ( \nThe loop was executed + i + times. ) 1 2 3 The loop was executed 3 times.
{}