--Originally published at My B10g
Types of repetition
The while loop: for indefinite number of repetitions(use more cpu)
The for loop: for an specific number of repetitions
Nested loops – loops within loops: run a process which run other process and the first process will not run again until the nestes process finished running
The recursion: repeats until it gets to one case which doesn’t call itself, used to reduce coding.
more interesting stuff in: http://www.annedawson.net/Python3_Repetition_StringFormatting.htm
beautiful poem of the day
.