Python Tutorial : CHAPTER 5 Loops


In any programming language loops are important elements you must have to master if you want to get effective solutions. I personally think that almost every program you use in some place need or require of a
loop. Loops are very important to automate repetitive processes. I would like to show you a useful example where is applied the “Loop”. The following example show you how to replace the white spaces in a text

Furthermore, you can test this program typing it step by step in the Python’s shell editor and change the texts and also you can change the white space replacing using semicolon.

You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.