while loop in python
While loop in python problem You’re learning Python and wish to use one of the loop mechanisms; in particular the while-loop. This is a mechanism of the language that allows us to keep repeating one or more actions given a logical condition (boolean expression). In plain Engilsh we can say “while <expression> do actions”, for […]
If else statement in Python
If else statement in Python problem You’re learning Python and you came across the idea of control flow that can happen using the if statement. In Python if we wish to change the course of actions by checking for a logical condition we use this mechanism. In this post we will see a simple example […]