Which repetition should you use in Python?

There exist different kind of repetition that you can use in python; you can use loops (if, for or while) and recursion, I already explained them in my previous blogs. In this blog I am going to cover the subject of when using what kind of repetition. First the loops. You use the if loop …

Using for loop in Python

There are two different kind of loops in Python that you can distinguish. The first is the indefinite loop. That is the while loop, that I already explained in my previous blog. This is an indefinite loop, because it goes on till it meets the condition that is given in that loop. The other kind …

Using modules in Python

Modules are useful to split your program/code in different files. In that way it becomes easier to use or adapt different parts separately.Just the definition of a module is a file that consist Python code. In this blog I am going to explain you the basic things about using modules while programming in Python. The …

Creating modules in Python

As I explained in the blog about using modules in Python, is it very practical to use modules in Python to edit separate parts of your code. Besides that gives it also a better overview in your script and I already explained in previous blogs how important a good overview over your code is. I …

Ontwerp een vergelijkbare site met WordPress.com
Aan de slag